[patch] Remove call to tidy_fallthru_edge in tree-inline.c
Eric Botcazou
ebotcazou@adacore.com
Mon Apr 4 07:18:00 GMT 2011
Hi,
tidy_fallthru_edges contains RTL-specific bits:
if (! (s->flags & EDGE_COMPLEX)
&& s->dest == c
&& !find_reg_note (BB_END (b), REG_CROSSING_JUMP, NULL_RTX))
tidy_fallthru_edge (s);
so it is disabled at the GIMPLE level. That's why I don't think that calling
it from tree-inline.c makes much sense.
Tested on i586-suse-linux, OK for mainline?
2011-04-04 Eric Botcazou <ebotcazou@adacore.com>
* cfghooks.c (tidy_fallthru_edges): Add ??? comment.
* tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove
call to tidy_fallthru_edges.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 873 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110404/a9450314/attachment.bin>
More information about the Gcc-patches
mailing list