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: [PATCH] Yet more constant folding of pow.


 > /* { 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 at caip dot rutgers dot edu


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