This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FP negation optimization


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]