PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / id-14.c
blob51ac4c1bbe573fc12903bb4c693fce1dc817c80e
1 typedef struct {
2 int n;
3 float *a;
4 } bar;
6 float
7 foo (bar *b)
9 float c, d;
10 int j;
12 for (j = 0; (j < b->n); j++)
13 d += b->a[j];
15 for (j = 0; (j < b->n); j++)
16 c += b->a[j];
18 return d;