testsuite: Revert to the original version of pr100056.c
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_49.c
blob6c4ee40fd5d36782ad77c7ae98daf9a7998198d5
1 /* { dg-add-options vect_early_break } */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_int } */
6 void abort();
7 struct foostr {
8 _Complex short f1;
9 _Complex short f2;
11 struct foostr a[16] __attribute__ ((__aligned__(16))) = {};
12 struct foostr c[16] __attribute__ ((__aligned__(16)));
13 struct foostr res[16] = {};
14 void
15 foo (void)
17 int i;
18 for (i = 0; i < 16; i++)
20 if (c[i].f1 != res[i].f1)
21 abort ();
22 if (c[i].f2 != res[i].f2)
23 abort ();