OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / pr15791-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
3
4 int 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" } } */