https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113109
--- Comment #5 from Hans-Peter Nilsson <hp at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > Hmm, see PR 32398 and PR 32769. PR 32769 is interesting because it was > caused by the merge of the df branch where the store was being removed just > like here on cris. > > Oh and reading > https://inbox.sourceware.org/gcc-patches/200707151749.l6FHnXrt010084@hiauly1. > hia.nrc.ca/ (the patch submission for those two PR's) > even mentions this exact issue it seems where dse.cc is removing > the store and such. Thanks for the bug-archive-digging! I decided on trying making the mem volatile and I see PR32769 supports that; exactly the same thing! I just wonder why it was seen with pa *then* and CRIS only *now*.