[Bug middle-end/41004] missed merge of basic blocks
carrot at google dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 19 21:55:00 GMT 2009
------- Comment #4 from carrot at google dot com 2009-08-19 21:55 -------
(In reply to comment #2)
> Why does the basic block reordering pass also not handle this?
>
Basic block reordering is disabled with options -Os.
The basic block reordering algorithm is for performance only, it usually
increases code size. So it won't be called when do optimization for size. But
for this specific case, the extra branch can be removed when I compile it with
-O2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41004
More information about the Gcc-bugs
mailing list