[Bug fortran/32153] runtime integer overflow checking fails
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 30 17:54:00 GMT 2007
------- Comment #1 from burnus at gcc dot gnu dot org 2007-05-30 17:54 -------
-ftrapv only traps floating-point overflow - no integer overflows.
(This is not completely correct, as some systems seem to offer to send FPE also
for integer overflows, see e.g.
https://www.cisl.ucar.edu/docs/ibm/ref/fpe.html
For x86 (32/64) platforms, this does not seem to be directly supported by
hardware; in this case one would need to add manual checks, which are slow, cf.
e.g.
http://softwarecommunity.intel.com/isn/Community/en-US/forums/thread/30227217.aspx
.)
-> WONTFIX, unless you find a good method to trap integer overflows.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32153
More information about the Gcc-bugs
mailing list