[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 387-3.c
blob0c51a21b9de2b8fab28d6472b97304a8ead2b26c
1 /* Verify that 387 mathematical constants are recognized. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -mfpmath=387 -mfancy-math-387 -mtune=generic" } */
4 /* { dg-final { scan-assembler "fldpi" } } */
5 /* { dg-require-effective-target large_long_double } */
7 long double add_pi(long double x)
9 return x + 3.1415926535897932385128089594061862044L;