This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/68046] -ftrapv doesn't catch leaq-based overflows on x86-64
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Oct 2015 22:48:24 +0000
- Subject: [Bug middle-end/68046] -ftrapv doesn't catch leaq-based overflows on x86-64
- Auto-submitted: auto-generated
- References: <bug-68046-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68046
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fsantize=undefined is more recommended for Linux and recent versions of gcc
instead of -ftrapv.