--- Comment #5 from kloedej at knmi dot nl 2007-06-01 08:41 ---
(In reply to comment #1)
> 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
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-05-30 19:59 ---
...to mark as dup of PR19020.
*** This bug has been marked as a duplicate of 19020 ***
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-05-30 19:59 ---
Reopen...
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|RESOLV
--- 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 gc
--- 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/re