summaryrefslogtreecommitdiff
path: root/gcc/tracer.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tracer.c')
-rw-r--r--gcc/tracer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/tracer.c b/gcc/tracer.c
index 9b1d724085c..7264ad2589b 100644
--- a/gcc/tracer.c
+++ b/gcc/tracer.c
@@ -379,7 +379,12 @@ tracer (void)
/* Trace formation is done on the fly inside tail_duplicate */
changed = tail_duplicate ();
if (changed)
- free_dominance_info (CDI_DOMINATORS);
+ {
+ free_dominance_info (CDI_DOMINATORS);
+ calculate_dominance_info (CDI_DOMINATORS);
+ if (current_loops)
+ fix_loop_structure (NULL);
+ }
if (dump_file)
brief_dump_cfg (dump_file, dump_flags);