This is the mail archive of the gcc-patches@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: [RFC] Fix PR tree-optimization/34036


> So in fact we now changed the semantics of -funsafe-math-optimizations.

Sort of.  You said that re-association may introduce or remove traps so 
-fu-m-o has never enforced trapping arithmetics, eventhough -ftrapping-math 
was enabled.

> W/o -fassociative-math all its optimizations were in unsafe-math, so I think
> we should retain them there. 

Could you clarify a little? :-)

> So, apart from adjusting the testcases (I think it's enough to fix those
> that we run into problems with - but if you have time to audit the rest,
> that would be great), this change (enabling -fno-trapping-math for -fu-m-o)
> deserves a changes.html entry.  Can you please add one?

OK, will do.

-- 
Eric Botcazou


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