]> gcc.gnu.org Git - gcc.git/commitdiff
cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump info before expunging...
authorRichard Henderson <rth@redhat.com>
Wed, 1 May 2002 20:20:19 +0000 (13:20 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 1 May 2002 20:20:19 +0000 (13:20 -0700)
        * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
        info before expunging the block.

From-SVN: r53014

gcc/ChangeLog
gcc/cfgcleanup.c

index 0a2d1c5361daf93a3c5d208137ac8414561a1d7a..a3733fce42a7b5097a84781cad33c192a3565d5c 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-01  Richard Henderson  <rth@redhat.com>
+
+       * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
+       info before expunging the block.
+
 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
 
        * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
 
        * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
index 74a2256b5e2971b85e3c6c2eee6ad1555d4d2538..892478111f6c1025d8f50a03abd3da7159dab43a 100644 (file)
@@ -775,12 +775,12 @@ merge_blocks_move_successor_nojumps (a, b)
   /* Restore the real end of b.  */
   b->end = real_b_end;
 
   /* Restore the real end of b.  */
   b->end = real_b_end;
 
-  /* Now blocks A and B are contiguous.  Merge them.  */
-  merge_blocks_nomove (a, b);
-
   if (rtl_dump_file)
     fprintf (rtl_dump_file, "Moved block %d after %d and merged.\n",
             b->index, a->index);
   if (rtl_dump_file)
     fprintf (rtl_dump_file, "Moved block %d after %d and merged.\n",
             b->index, a->index);
+
+  /* Now blocks A and B are contiguous.  Merge them.  */
+  merge_blocks_nomove (a, b);
 }
 
 /* Attempt to merge basic blocks that are potentially non-adjacent.
 }
 
 /* Attempt to merge basic blocks that are potentially non-adjacent.
This page took 0.072554 seconds and 5 git commands to generate.