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-14.c
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
3
4 struct s
5 {
6 long long a:12;
7 long long b:12;
8 long long c:40;
9 };
10
11 struct s s, *p = &s;
12
13 int
14 main ()
15 {
16 p->a = 1;
17 s.a = 0;
18 s.b = 0;
19 return p->a + s.b;
20 }