1/* { dg-do compile } */
2/* { dg-options "-fdump-tree-gimple" } */
3
4int f(int i, unsigned j)
5{
6      int b[2];
7      if (&b[i] == &b[j])
8	      return 1;
9      return 0;
10}
11
12/* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */
13/* { dg-final { cleanup-tree-dump "gimple" } } */
14