Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / tree-ssa / 20031021-1.c
blob117cddf12a799d6a4126ad2fbb690cc34f4206cb
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
4 struct A
6 int i : 8;
7 };
9 signed char c1, c2;
10 struct A a;
12 int main()
14 a.i = c1;
15 c2 = a.i;
16 return a.i;
19 /* We should only store to a.i, not load from it. */
20 /* { dg-final { scan-tree-dump-times "a.i" 1 "optimized" } } */
21 /* { dg-final { cleanup-tree-dump "optimized" } } */