Should gcc-4.0 apply mathematical associative rules for addition or multiplication
Dale Johannesen
dalej@apple.com
Tue Oct 5 00:39:00 GMT 2004
On Oct 4, 2004, at 4:53 PM, Fariborz Jahanian wrote:
>
> On Oct 4, 2004, at 4:05 PM, Gabriel Dos Reis wrote:
>> Multiplication on floating point datatypes is *NOT* associative.
>> Transformations that are predicated on associativity are not
>> optimizations in that case. They may be applied only if
>> -funsafe-transformations.
>
> I don't see this flag defined in gcc-4.0. Are you proposing such a
> flag?
>
> cc1: error: unrecognized command line option "-funsafe-transformations"
I expect he meant -funsafe-math-optimizations .
More information about the Gcc
mailing list