FP negation optimization

Robert Dewar dewar@gnat.com
Mon Feb 2 00:53:00 GMT 2004


Andrew Pinski wrote:

> That is because GCC already optimizes it into -X but using a real old 
> compiler

I agree that this optimization is "wrong" if you expect IEEE
semantics to be observed. Interestingly, Ada requires that this
be done right, to be checked!



More information about the Gcc mailing list