OSDN Git Service

PR c/15052
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / i386-387-3.c
1 /* Verify that 387 mathematical constants are recognized.  */
2 /* { dg-do compile { target "i?86-*-*" } } */
3 /* { dg-options "-O2 -march=i686" } */
4 /* { dg-final { scan-assembler "fldpi" } } */
5
6 long double add_pi(long double x)
7 {
8   return x + 3.1415926535897932385128089594061862044L;
9 }
10