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

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot 
com> ---
I wonder if it would be possible to map -ftrapv to something like 
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error 
(whatever is most closely equivalent to -ftrapv and doesn't require 
libubsan).  Then we could get rid of the separate -ftrapv code paths, 
which never worked well (while keeping the shared libgcc functions for 
compatibility, of course).

Reply via email to