Imported Upstream version 4.7.3
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / vect / pr49926.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3
4 int a, b, c[10];
5
6 void
7 foo (unsigned int x, int y, int z, int *w)
8 {
9   do
10     {
11       *w = z;
12       y = x;
13       if (y)
14         for (b = -4; b; b++)
15           {
16             z = y &= a &= 1;
17             y &= c[b + 4];
18           }
19     }
20   while (1);
21 }
22
23 /* { dg-final { cleanup-tree-dump "vect" } } */