1 /* { dg-options "-O -fgraphite-identity -ffast-math -fno-tree-loop-im" } */ 2 3 struct S 4 { 5 int n; 6 float *a; 7 }; 8 foo(struct S * s)9float foo (struct S *s) 10 { 11 float f = 0, g=0; 12 int i; 13 for (i = 0; i < s->n; i++) 14 f += s->a[i]; 15 for (i = 0; i < s->n; i++) 16 ; 17 return f; 18 } 19