Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20030823-1.c
blob89a3ea50a7f82161e196bae110e446b0e1bec03b
1 struct A
3 int a;
4 };
6 int foo (struct A *a)
8 static int c = 30;
9 int x;
11 a->a = c;
12 /* Dominator optimizations will replace the use of 'a->a' with 'c', but
13 they won't copy the virtual operands for 'c' from its originating
14 statement. This exposes symbol 'c' without a correct SSA version
15 number. */
16 x = a->a;
17 return x;