https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Interesting compiling with the C++ front-end (with one minor change of adding a cast to the malloc) does not seg fault at -O2.
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 21 Apr 2023 09:50:45 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Interesting compiling with the C++ front-end (with one minor change of adding a cast to the malloc) does not seg fault at -O2.