https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115278
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to avieira from comment #5) > > I think we fixed similar bug on the read side. > > I don't have the best memory, but the one I can remember is PR 111882, where > we had the SAVE_EXPR. And the the fix was to not lower bitfields with > non-constant offsets. > > Should dse_classify_store not return *_DEAD for volatiles? It's a low-level worker, it relies on the caller to have performed sanity checking on the stmt itself. I'm testing a patch doing that.