[Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 2 08:46:00 GMT 2018


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is unfortunately too hard, because there are just too many places where
the FEs can construct these.
That said, having one macro like TYPE_OVERFLOW_UNDEFINED that would combine
that and !TYPE_OVERFLOW_SANITIZED for that type might make things easier.


More information about the Gcc-bugs mailing list