* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr20922-6.c
blob0c099bd38211fa633d7853fcbaf93af3edee776d
1 /* { dg-do compile } */
2 /* { dg-options "-ffast-math -fno-wrapv -fdump-tree-gimple" } */
3 int f(int i)
5 return i >= (i - 2);
8 int g(int i)
10 return i <= (i + 2);
13 int h(int i)
15 return i >= (i + (-2));
18 int x(double i)
20 return i >= (i - 2.0);
23 int y(double i)
25 return i <= (i + 2.0);
28 int z(double i)
30 return i >= (i + (-2.0));
32 /* { dg-final { scan-tree-dump-times " = 1" 6 "gimple" } } */
33 /* { dg-final { cleanup-tree-dump "gimple" } } */