1 /* { dg-do compile } */ 2 /* { dg-options "-O3 -march=amdfam10 -fselective-scheduling2 -fsel-sched-pipelining -funroll-all-loops" } */ 3 4 struct S 5 { 6 struct 7 { 8 int i; 9 } **p; 10 int x; 11 int y; 12 }; 13 14 extern int baz (void); 15 extern int bar (void *, int, int); 16 17 void foo(struct S * s)18foo (struct S *s) 19 { 20 int i; 21 for (i = 0; i < s->x; i++) 22 bar (s->p[i], baz (), s->y); 23 for (i = 0; i < s->x; i++) 24 s->p[i]->i++; 25 } 26