aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/i386-387-3.c
blob: f61cd6100e2bb926475830ed2e17835edebd2e9d (plain)
1
2
3
4
5
6
7
8
9
10
/* Verify that 387 mathematical constants are recognized.  */
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-options "-O2 -march=i686" } */
/* { dg-final { scan-assembler "fldpi" } } */

long double add_pi(long double x)
{
  return x + 3.1415926535897932385128089594061862044L;
}