Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 387-4.c
blob10fe931199411850902b4c48f6b2d4e714ebd696
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mfancy-math-387 -mtune=generic" } */
3 /* { dg-final { scan-assembler "fldpi" } } */
4 /* { dg-require-effective-target large_long_double } */
6 long double atanl (long double);
8 long double pi()
10 return 4.0 * atanl (1.0);