New option?

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Mon Jan 31 13:44:00 GMT 2005


Sam Lauber wrote:
> I think an option -ftrapping-integer-math should be added 
> to GCC that generates calls to the libgcc functions 
> __XXXvdiX and ___XXXvsiX that call `abort()' for overflow 
> instead of calls to the regular assembly instructions for 
> that task.

-ftrapv

Paolo



More information about the Gcc mailing list