1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* { dg-do compile } */ /* { dg-options "-fwrapv -fdump-tree-gimple" } */ int f (int i) { return (i - 2) > i; } int g (int i) { return (i + 2) < i; } int h (double i) { return (i + 2.0) <= i; } /* { dg-final { scan-tree-dump-times " = 0" 0 "gimple" } } */ /* { dg-final { cleanup-tree-dump "gimple" } } */