2014-08-04 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr20922-5.c
blobdb94c7ba0326fad3f820da337a3e8ad416004e26
1 /* { dg-do compile } */
2 /* { dg-options "-fsignaling-nans -fwrapv -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 (double i)
15 return i >= i + 2.0;
18 int j (double i)
20 return i > i + 2.0;
22 /* { dg-final { scan-tree-dump-times " = 0" 0 "gimple" } } */
23 /* { dg-final { cleanup-tree-dump "gimple" } } */