https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-12-19 Status|UNCONFIRMED |NEW --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fno-ipa-modref fixes the issue though. I can't figure out why the store to the frame is being removed.