summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr15791-4.c
blob: 54cf0dd91d945a511e8d179d894eb79fe0cdfbe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-fdump-tree-gimple" } */

int f(int i, int j)
{
    int b[2][2];
    if (&b[1][i] == &b[0][j])
      return 1;
    return 0;
}

/* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */