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