summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr20922-2.c
blob: 88f285d00503797ee561b0dd287582a9240ef662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { 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" } } */