PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr63563.c
blobce3e4658e7532fbaf4a7701f4980dd4281e7e13b
1 /* PR tree-optimization/63563 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -mavx2" } */
5 struct A { unsigned long a, b, c, d; } a[1024] = { { 0, 1, 2, 3 } }, b;
7 void
8 foo (void)
10 int i;
11 for (i = 0; i < 1024; i++)
13 a[i].a = a[i].b = a[i].c = b.c;
14 if (a[i].d)
15 a[i].d = b.d;