1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* PR middle-end/33670 */ /* { dg-do compile } */ /* { dg-options "-O2 -fsched-stalled-insns=0" } */ struct B { int p; int n; }; extern struct B ***b; extern int a; int foo (int d, int e) { int c; for (c = d; c <= e; c++) b[a][c]->n = b[a][c]->p; }