Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / div-cmp-2.c
blob95e5400d777d07f181e9b2bbff957e5e3783cbc6
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -funsafe-math-optimizations -ffinite-math-only -fdump-tree-optimized-raw" } */
4 int
5 cmp_1 (float x)
7 return 5 / x >= 0;
10 int
11 cmp_2 (float x)
13 return 1 / x <= 0;
16 int
17 cmp_3 (float x)
19 return -2 / x >= 0;
22 int
23 cmp_4 (float x)
25 return -5 / x <= 0;
28 /* { dg-final { scan-tree-dump-not "rdiv_expr" "optimized" } } */