1  /* { dg-do compile } */
       2  /* { dg-additional-options "-O3" } */
       3  
       4  struct s { struct s *ptrs[16]; } *a, *b;
       5  int c;
       6  void
       7  foo (int n)
       8  {
       9    for (; n; a = b, n--)
      10      {
      11        b = a + 1;
      12        for (c = 8; c; c--)
      13  	a->ptrs[c] = b;
      14      }
      15  }