2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr34330.c
blob0ed2f9fb39545b7c557b54d030da8a9fac5c7793
1 /* { dg-do compile } */
2 /* { dg-require-effective-target pthread } */
3 /* { dg-options "-ftree-parallelize-loops=4 -ftree-vectorize" } */
5 struct T
7 int t;
8 struct { short s1, s2, s3, s4; } *s;
9 };
11 void
12 foo (int *a, int *b, int *c, int *d, struct T *e)
14 int i;
15 for (i = 0; i < e->t; i++)
17 e->s[i].s1 = a[i];
18 e->s[i].s2 = b[i];
19 e->s[i].s3 = c[i];
20 e->s[i].s4 = d[i];