testsuite: Revert to the original version of pr100056.c
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-layout-17.c
blobf64a2d98230fa4cb87b545fff501c86b36c05549
1 /* { dg-do compile } */
3 int a[8], b[8];
5 int f1()
7 a[0] = b[4] + 1;
8 a[1] = b[5] + 1;
9 a[2] = b[6] + 1;
10 a[3] = b[7] + 1;
11 a[4] = b[0] + 1;
12 a[5] = b[1] + 1;
13 a[6] = b[2] + 1;
14 a[7] = b[3] + 1;
17 unsigned short c[2], d[2];
18 void f2() {
19 c[0] += d[1];
20 c[1] += d[0];
23 typedef int v4si __attribute__((vector_size(16)));
24 void f3(v4si x) {
25 a[0] = b[1] + x[1];
26 a[1] = b[0] + x[3];