Message ID | 5379BA8D7E9D7E4D87BF6749A92854C248FEC4D4@G9W0750.americas.hpqcorp.net |
---|---|
State | New |
Headers | show |
Index: gcc/testsuite/gcc.dg/pr61441.c =================================================================== --- gcc/testsuite/gcc.dg/pr61441.c (revision 232151) +++ gcc/testsuite/gcc.dg/pr61441.c (working copy) @@ -1,5 +1,5 @@ -/* { dg-do run } */ -/* { dg-options "-O1 -lm" } */ +/* { dg-do run { target { *-*-linux* *-*-gnu* } } } */ +/* { dg-options "-O1 -lm -fexcess-precision=standard" } */ #define _GNU_SOURCE #include <stdio.h> @@ -56,6 +56,8 @@ int main (void) operation(Add); operation(Mult); operation(Div); +#if __FLT_EVAL_METHOD__ == 0 operation(Abs); +#endif return 0; }