1 /* { dg-do run } */
2 /* { dg-additional-options "-fno-tree-sra -fno-tree-pre -ftree-loop-distribution" } */
3
4 struct a {
5 unsigned b;
6 unsigned c;
7 } e, *f = &e;
8 int d = 1;
9 int main() {
10 for (; d; d--) {
11 struct a g[] = {{2, 1}, {2, 1}};
12 *f = g[1];
13 }
14 if (e.c != 1)
15 __builtin_abort ();
16 return 0;
17 }