aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-05-01 13:20:19 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-05-01 13:20:19 -0700
commit2150ad33f212a2213c2c2bbbfd743373d149cb30 (patch)
tree858ba8fbaeba6b7dcbed769639763f6872773ee1 /gcc
parent1651cc96a4bbe8c470fe913e4aa5538dd12631fa (diff)
downloadgcc-2150ad33f212a2213c2c2bbbfd743373d149cb30.zip
gcc-2150ad33f212a2213c2c2bbbfd743373d149cb30.tar.gz
gcc-2150ad33f212a2213c2c2bbbfd743373d149cb30.tar.bz2
cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump info before expunging the block.
* cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump info before expunging the block. From-SVN: r53014
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgcleanup.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0a2d1c5..a3733fc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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...
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 74a2256..8924781 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -775,12 +775,12 @@ merge_blocks_move_successor_nojumps (a, b)
/* 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);
+
+ /* Now blocks A and B are contiguous. Merge them. */
+ merge_blocks_nomove (a, b);
}
/* Attempt to merge basic blocks that are potentially non-adjacent.