Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / load-and-test-fp-1.c
blobb9d59122242c1e7e0e17a9313914b5c90df1998f
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -mzarch" } */
4 /* a is used after the comparison. We cannot use load and test here
5 since it would turn SNaNs into QNaNs. */
7 double gl;
9 double
10 foo (double dummy, double a)
12 if (a == 0.0)
13 gl = 1;
14 return a;
17 /* { dg-final { scan-assembler "cdbr\t" } } */