https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Chris Rapier from comment #5) > So what you are saying is that behaviour *has* changed and what was a valid > operation for 15 years is now invalid. I'm not mad about that. I just needed > to know. No. Please read the above comments again. The testcase has been always invalid, but invoking undefined behavior doesn't mean you always get a segfault, that would then be defined behavior. It can as well seem to do what the programmer expected it to do, or do something completely different. See e.g. https://blog.regehr.org/archives/213 for more details.