re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / alias-9.c
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
3
4 void abort(void);
5 int main()
6 {
7 int a[32];
8 int i = 1;
9 a[0] = 1;
10 a[1] = 2;
11 if (*(a + i) != 2)
12 abort();
13 return 0;
14 }
15