[Bug c++/119154] GCC 15.0 std module with <string> compiled with -O3 breaks when loaded with -O0 (not -O1, -O2 and -Ofast)

sjames at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 7 13:34:01 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119154

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
I seem to be able. It needs default _FORTIFY_SOURCE. Those won't appear with
-O0 vs -O1 which may explain the crash, dunno.


More information about the Gcc-bugs mailing list