Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-387-3.c
blobb68928a1adf8748ccec42924296113fcb93589d8
1 /* Verify that 387 mathematical constants are recognized. */
2 /* { dg-do compile { target "i?86-*-*" } } */
3 /* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
4 /* { dg-options "-O2 -march=i686" } */
5 /* { dg-final { scan-assembler "fldpi" } } */
7 long double add_pi(long double x)
9 return x + 3.1415926535897932385128089594061862044L;