Re: Store float for pow result test

2019-10-01 Thread Richard Biener
On Tue, Oct 1, 2019 at 10:56 AM Alexandre Oliva wrote: > > Optimizing gcc.dg/torture/pr41094.c, the compiler computes the > constant value and short-circuits the whole thing. At -O0, however, > on 32-bit x86, the call to pow() remains, and the program compares the > returned value in a stack regi

Store float for pow result test

2019-10-01 Thread Alexandre Oliva
Optimizing gcc.dg/torture/pr41094.c, the compiler computes the constant value and short-circuits the whole thing. At -O0, however, on 32-bit x86, the call to pow() remains, and the program compares the returned value in a stack register, with excess precision, with the exact return value expected