summaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorzlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-21 06:38:20 +0000
committerzlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-21 06:38:20 +0000
commit7e8ca71d9d3a1bc5fa3628c63e12657c1d7981d0 (patch)
tree2dd8fdf92ad6b8aec1679c43d1a718f3fb7b392c /gcc/cfgrtl.c
parent83fdd9f92041f824fc9e921c037eedbbcf96a48e (diff)
downloadgcc-7e8ca71d9d3a1bc5fa3628c63e12657c1d7981d0.tar.gz
* cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug
message before redirecting the edge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index f38c53c5eda..a1524e51c11 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -2439,10 +2439,11 @@ cfg_layout_redirect_edge_and_branch (edge e, basic_block dest)
&& onlyjump_p (BB_END (src)))
delete_insn (BB_END (src));
}
- redirect_edge_succ_nodup (e, dest);
+
if (dump_file)
fprintf (dump_file, "Fallthru edge %i->%i redirected to %i\n",
e->src->index, e->dest->index, dest->index);
+ redirect_edge_succ_nodup (e, dest);
ret = true;
}