Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / 20050330-2.c
blob7a1d343fdbb0edcbe6133e2b620eb1c70ab2da85
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fprofile-generate" } */
4 struct S
6 int a;
7 void **b;
8 };
10 void
11 foo (struct S *x, int y)
13 if (!x)
14 return;
15 if (y >= x->a)
16 return;
17 x->a--;
18 for (; y < x->a; y++)
19 x->b[y] = x->b[y + 1];
20 x->b[x->a] = (void *) 0;
23 /* { dg-final { cleanup-coverage-files } } */