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: Should gcc-4.0 apply mathematical associative rules for addition or multiplication


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?

man gcc


then look for unsafe...

-funsafe-math-optimizations


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