testsuite: Revert to the original version of pr100056.c
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr84357.c
blobcd3cc4a92ed29639d25a8786a62315004de8f077
1 /* { dg-do compile } */
2 /* { dg-additional-options "-Wall" } */
4 #define COUNT 32
6 typedef struct s1 {
7 unsigned char c;
8 } s1;
10 typedef struct s2
12 char pad;
13 s1 arr[COUNT];
14 } s2;
16 typedef struct s3 {
17 s1 arr[COUNT];
18 } s3;
20 s2 * get_s2();
21 s3 * gActiveS3;
22 void foo()
24 s3 * three = gActiveS3;
25 s2 * two = get_s2();
27 for (int i = 0; i < COUNT; i++)
29 two->arr[i].c = three->arr[i].c;