On Thu, Nov 26, 2015 at 08:38:55AM +0000, Saraswati, Sujoy (OSTL) wrote: > PR tree-optimization/61441 > * gcc.dg/pr61441.c: New testcase.
Note the testcase fails on i686-linux, and even -fexcess-precision=standard doesn't help (-ffloat-store works, but that is a big hammer and we really don't want it for targets without excess precision). At least with -fexcess-precision=standard, the problem is in the fabs case, with -fexcess-precision=standard the value is then rounded from long double to double and that rounding affects the signalling bit. So, either the testcase should be compiled with -fexcess-precision=standard and the operation(Abs) case be guarded with #if __FLT_EVAL_METHOD__ == 0, or something similar. Jakub