[Bug tree-optimization/59660] We fail to optimize common boolean checks pre-inlining
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 7 11:39:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59660
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-01-07
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I have noticed these, too (-Og is pessimzed by them). The pattern is generated
by gimplifying.
I've pondered a bit for a good place to handle this special case (phiopt during
early isn't a good option) and the only ones I can think of is cfg-cleanup
(ugh)
and copyprop (at least looks like a copy-propagation somewhat, but that
likely runs too early).
More information about the Gcc-bugs
mailing list