Should gcc-4.0 apply mathematical associative rules for addition or multiplication

Fariborz Jahanian fjahanian@apple.com
Tue Oct 5 00:34:00 GMT 2004


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"

- thanks, fariborz



More information about the Gcc mailing list