summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr26899.c
blob: 2e9941060958e9f0a8d9527f18c1a1b7049ed54e (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-options "-fstrict-overflow -fdump-tree-gimple" } */

int foo (int i, int j)
{
  return (i < j + 1) || (j > i - 1);
}

/* { dg-final { scan-tree-dump "j >= i" "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */