[PATCH][4.3] Deprecate -ftrapv

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Sat Mar 1 14:14:00 GMT 2008


> IMHO this semantics asks for the frontend to implement the overflow
> check.  Does the above mean that Ada does intermediate arithmetics
> in wider types? 

No, it means that it must *either* do the arithmetic in wider types *or*
use arithmetic in the narrower types that checks for overflow.



More information about the Gcc mailing list