[PR target/115123] Fix testsuite fallout from sinking heuristic change
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / pr97439.c
blobc651ec22e4314db74f93813cc67e7df071d59f95
1 // { dg-options "-O1" }
3 static int
4 foo(_Decimal128 x, _Decimal128 y)
6 if (x > y)
7 return 1;
9 return 0;
12 int __attribute__((noinline))
13 bar(_Decimal128 x)
15 return foo (x, -1.0DL * __builtin_infd32());
18 int
19 main (void)
21 int res = bar (0.0DL);
22 if (res != 1)
23 __builtin_abort ();
25 return 0;