[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 13 19:31:07 GMT 2022


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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Line numbers in the source code aren't relevant here, you need to add the
-fsanitize=undefined flag to your link command to solve those undefined
references.


More information about the Gcc-bugs mailing list