OSDN Git Service

PR middle-end/20256
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / pr15791-5.c
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
3
4 int foo(int i, int j)
5 {
6         char g[16];
7         if (&g[i] == &g[j])
8                 return 1;
9         return 0;
10 }
11
12 /* { dg-final { scan-tree-dump-times "i == j" 1 "gimple" } } */
13 /* { dg-final { cleanup-tree-dump "gimple" } } */