PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / alias-12.c
blobb1fb7997f3c517a7fa4156a48babc55a39cc1c66
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-alias-vops" } */
4 struct {
5 int i;
6 int x[128];
7 int j;
8 } a;
10 int foo(int i)
12 a.x[i] = 0;
13 return a.x[i];
16 /* { dg-final { scan-tree-dump "VDEF" "alias" } } */
17 /* { dg-final { cleanup-tree-dump "alias" } } */