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.