1 // { dg-do run } 2 // { dg-options "-O1" } 3 4 static int foo(_Decimal128 x,_Decimal128 y)5foo(_Decimal128 x, _Decimal128 y) 6 { 7 if (x > y) 8 return 1; 9 10 return 0; 11 } 12 13 int __attribute__((noinline)) bar(_Decimal128 x)14bar(_Decimal128 x) 15 { 16 return foo (x, -1.0DL * __builtin_infd32()); 17 } 18 19 int main(void)20main (void) 21 { 22 int res = bar (0.0DL); 23 if (res != 1) 24 __builtin_abort (); 25 26 return 0; 27 } 28