]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP instead of calling fix_loop_struc...
authorRichard Biener <rguenther@suse.de>
Wed, 6 Feb 2013 13:16:35 +0000 (13:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 6 Feb 2013 13:16:35 +0000 (13:16 +0000)
2013-02-06  Richard Biener  <rguenther@suse.de>

* tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP
instead of calling fix_loop_structure.

From-SVN: r195804

gcc/ChangeLog
gcc/tracer.c

index 0865a81addf9416d102eb9ba272902166d49b0a7..00a3ea25a1f4f8443ccd757835d755d156a42020 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-06  Richard Biener  <rguenther@suse.de>
+
+       * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP
+       instead of calling fix_loop_structure.
+
 2013-02-06  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/56217
index c7b9d964b9f1c620432fa60ab3e6db33d0940329..975cadb9285a27e639538a54beb686b89aecf332 100644 (file)
@@ -380,9 +380,9 @@ tracer (void)
   if (changed)
     {
       free_dominance_info (CDI_DOMINATORS);
-      calculate_dominance_info (CDI_DOMINATORS);
+      /* If we changed the CFG schedule loops for fixup by cleanup_cfg.  */
       if (current_loops)
-       fix_loop_structure (NULL);
+       loops_state_set (LOOPS_NEED_FIXUP);
     }
 
   if (dump_file)