------- 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 to add manual checks, which are slow, 
> cf.
...
> -> WONTFIX, unless you find a good method to trap integer overflows.

thanks for your replies.
I understand adding extra checks makes the compiled code slower, if this cannot
be done by the hardware (but the same is probably true for many other runtime
checks, like bounds checking, etc.)
However, I think it would be very usefull to have such an option for debugging
purposes. If anyone finds the time to implement it, it would be highly
appreciated.

best regards,

Jos de Kloe


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32153

Reply via email to