https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106175
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > A segfault here is not acceptable for a language like C++. Well no. This is how the language is defined. It is undefined which means you should have a check before.