summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/387-4.c
blob: e4f4a48f2ef52fc58d5a3c71bb01e4e3bc67161f (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -mfancy-math-387" } */
/* { dg-final { scan-assembler "fldpi" } } */

long double atanl (long double);

long double pi()
{
  return 4.0 * atanl (1.0);
}