PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr83914.c
blob0bef7986bc288744c24c848fab5ad81dc2509a8b
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
4 struct s { struct s *ptrs[16]; } *a, *b;
5 int c;
6 void
7 foo (int n)
9 for (; n; a = b, n--)
11 b = a + 1;
12 for (c = 8; c; c--)
13 a->ptrs[c] = b;