aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr43730.c
blob: 0d91aef1d46574f9332913d9e98aeff5e2352599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */
/* { dg-options "-O0" } */
extern int (isinfl)(long double);

int
bugfun(long double x, long double y)
{
  int result;

  if (isinfl(x))
    result = isinfl(y);
  else
    {
      int kx, ky;
      kx = ky = 1;
      result = (kx == ky);
    }
  return (result);
}