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); }