signed is undefined and has been since 1992 (in GCC)

Robert Dewar dewar@adacore.com
Tue Jun 28 14:33:00 GMT 2005


Gabriel Paubert wrote:

> Now in practice what would be the cost of checking that the divisor
> is -1 and take an alternate path that computes the correct 
> results (in modulo arithmetic) for this case ?

We actually had to do this on the x86 early on for GNAT, UGH!



More information about the Gcc mailing list