[Bug sanitizer/60275] [UBSAN] Add -f[no-]sanitize-recover/-fsanitize-undefined-trap-on-error to make UBSAN's runtime errors fatal
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 28 16:31:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60275
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I guess we shouldn't copy the design mistakes clang makes. What action to take
on detected undefined behavior should be orthogonal to how to report it
(runtime error message with recovery, fatal runtime error message or abort
without error message).
More information about the Gcc-bugs
mailing list