This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 02 Nov 2018 08:46:15 +0000
- Subject: [Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64
- Auto-submitted: auto-generated
- References: <bug-87837-4@http.gcc.gnu.org/bugzilla/>
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.