aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr83914.c
blob: 0bef7986bc288744c24c848fab5ad81dc2509a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-additional-options "-O3" } */

struct s { struct s *ptrs[16]; } *a, *b;
int c;
void
foo (int n)
{
  for (; n; a = b, n--)
    {
      b = a + 1;
      for (c = 8; c; c--)
	a->ptrs[c] = b;
    }
}