(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr48189.c
       1  /* PR tree-optimization/48189 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O --param max-predicted-iterations=0" } */
       4  
       5  struct S { int s[8]; };
       6    
       7  void
       8  foo (int *x, struct S *y)
       9  {
      10    int i;
      11    for (i = 0; y[i].s[i]; i++)
      12      *x++ = y[i].s[i];
      13  }