OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr43730.c
1 /* { dg-do compile } */
2 /* { dg-options "-O0" } */
3 extern int (isinfl)(long double);
4
5 int
6 bugfun(long double x, long double y)
7 {
8   int result;
9
10   if (isinfl(x))
11     result = isinfl(y);
12   else
13     {
14       int kx, ky;
15       kx = ky = 1;
16       result = (kx == ky);
17     }
18   return (result);
19 }