[Bug middle-end/44786] -fsanitize=undefined: Turn on runtime code generation to check for undefined behavior
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 25 08:28:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44786
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Vincent Lefèvre from comment #8)
> However it only gives a runtime diagnostic message. It basically lacks
> clang's -fno-sanitize-recover option to make the program abort (useful for
> test suites). After that, I suppose that this enhancement would be complete
> (it doesn't check all kinds of undefined behavior, such as the use of
> uninitialized variables, but clang doesn't do this either).
-fno-sanitize-recover is now implemented in the mainline, see PR60275.
More information about the Gcc-bugs
mailing list