1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -ftree-loop-distribution" } */
       3  
       4  int a[8][8];
       5  int b[8];
       6  
       7  void
       8  foo (int i)
       9  {
      10    int j;
      11    for (j = 0; j < 8; j++)
      12      {
      13        a[i][j] = 0;
      14        b[j] = j;
      15      }
      16  }