[PATCH] Yet more constant folding of pow.

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sat Apr 5 22:49:00 GMT 2003


 > /* { dg-do link } */
 > /* { dg-options "-O2 -ffast-math" } */

Another thing regarding the testcase, should this be a "run" test?

And don't you need -lm to link in the math funcs?  I thought some of
these transforms still leave us with one call to pow or exp.  Or does
the != elide both sides if they're the same (const) expression?

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Gcc-patches mailing list