Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / e500-unord-1.c
blob733546ecf4f92a2e8aae0ae4490f3635ef91bdb2
1 /* { dg-do compile { target powerpc*-*-eabi* } } */
2 /* { dg-options "-O -ftrapping-math -fdump-rtl-final" } */
4 int isgreater (float f1, float f2)
6 int r = __builtin_isgreater (f1, f2);
7 return !r ? -1 : 1;
10 int isgreaterequal (float f1, float f2)
12 int r = __builtin_isgreaterequal (f1, f2);
13 return !r ? -1 : 1;
16 int isless (float f1, float f2)
18 int r = __builtin_isless (f1, f2);
19 return !r ? -1 : 1;
22 int islessequal (float f1, float f2)
24 int r = __builtin_islessequal (f1, f2);
25 return !r ? -1 : 1;
28 /* { dg-final { scan-rtl-dump-times "__unordsf2" 4 "final" } } */