Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / vect / pr24300.c
blob7a79e96c8a26f1ca097b3cd74e198f6652abdd88
1 /* { dg-do compile } */
3 static int *** foo (int);
5 void
6 bar ()
8 int ***p = foo (2);
11 extern int *nd;
12 extern int ***tc;
13 extern int *ap;
14 extern int *as;
15 extern float ss;
17 static int ***
18 foo (int Fc)
20 int i, j, s, p, n, t;
22 n = 0;
23 for (s = 0; s < 4; s++)
24 n += nd[s];
26 for (i = 0; i < n; i++)
28 p = ap[i];
29 s = as[i];
30 for (j = 0; j < Fc; j++)
31 tc[p][s][j] = i * ss + j;
34 return (tc);
37 /* { dg-final { cleanup-tree-dump "vect" } } */