/* { 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" } } */
