https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101521
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hp at gcc dot gnu.org --- Comment #5 from Hans-Peter Nilsson <hp at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #0) > As mentioned a few times -ftrapv is broken in many cases it would be better > if it become something like -fsanitize=undefined > -fsanitize-undefined-trap-on-error. Wouldn't that require sanitizer support for the target?