https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114379
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-03-18 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > The diagnostic hints at jump threading producing an access to nullptr. Yes, I saw this happening with std::atomic recently too - I can't remember if I still have the code to reproduce it.