[Bug middle-end/54364] Tail call jumps not threaded
amker at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 19 07:40:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54364
--- Comment #3 from amker at gcc dot gnu.org 2012-09-19 07:40:21 UTC ---
Author: amker
Date: Wed Sep 19 07:40:15 2012
New Revision: 191462
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191462
Log:
PR middle-end/54364
* bb-reorder.c (connect_better_edge_p): New added.
(find_traces_1_round): When optimizing for size, ignore edge frequency
and probability, and handle all in one round.
(bb_to_key): Use bb->index as key when optimizing for size.
(better_edge_p): The bb with smaller index is better when optimizing
for size.
(connect_traces): When optimizing for size, connect block n with
block n + 1; connect trace m with trace m + 1 if falling through.
(gate_handle_reorder_blocks): Enable bbro when optimizing for -Os.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/bb-reorder.c
More information about the Gcc-bugs
mailing list