summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/builtins-15.c
blob: 6d94c7edc51a7f97562f3ed2c2e8e200936dda99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Derived from PR optimization/10764  */

/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math" } */

double log(double x);

double ndtri(double y0)
{
  double x;

  x = log(y0);
  x = log(x);

  return x;
}