[Bug c++/59739] missed optimization: attribute ((pure)) could be honored more often
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 19 22:11:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59739
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-03-19
CC| |rguenther at suse dot de
Ever confirmed|0 |1
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Confirmed. Actually I think this is more for Richard. The issues here is, I
blieve, the fact that non-gimple-register return values are consiered to be
stores that invalidate the memory context.
It is FRE1 that does the optimization.
More information about the Gcc-bugs
mailing list