This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32153] runtime integer overflow checking fails
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2007 18:02:44 -0000
- Subject: [Bug fortran/32153] runtime integer overflow checking fails
- References: <bug-32153-11277@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from ebotcazou at gcc dot gnu dot org 2007-05-30 18:02 -------
> -ftrapv only traps floating-point overflow - no integer overflows.
It's the other way around, -ftrapv is meant to trap on integer operations only.
But it's well-known for being broken...
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32153