From: Josef Zlomek Date: Sun, 21 Mar 2004 06:38:20 +0000 (+0100) Subject: cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug message before redire... X-Git-Tag: releases/gcc-4.0.0~9251 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eabd7d3156418580df4e3783efd9d75436678800;p=thirdparty%2Fgcc.git cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug message before redirecting the edge. * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug message before redirecting the edge. From-SVN: r79772 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 46a3a9e7c9ef..8b59f2ed8574 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-03-21 Josef Zlomek + + * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug + message before redirecting the edge. + 2004-03-20 Zdenek Dvorak * emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index f38c53c5eda6..a1524e51c115 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; }