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