[PATCH][4.3] Deprecate -ftrapv

Robert Dewar dewar@adacore.com
Tue Mar 4 02:39:00 GMT 2008


Eric Botcazou wrote:
>> Perhaps if the current implementation is too broken, that might be
>> the most constructive approach ...
> 
> That's my opinion and the current state of affairs is a hindrance, so I think 
> that -ftrapv should be reimplemented from scratch if GCC is to be serious 
> about overflow checking.  Of course we would be happy to lend a hand. :-)

Reimplementing from scratch certainly might make sense if it is a
better path. Presumably some of the library routines to be used when
there is no hardware assist could be rescued.



More information about the Gcc-patches mailing list