Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20050321-1.c
blob79f62a32601ac51f5fd4610d1a4b8b935aaed9e9
1 /* This caused an ICE on powerpc-linux-gnu due to not
2 up-to-date life info (PR middle-end/20177). */
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -fmodulo-sched" } */
6 extern void * malloc (__SIZE_TYPE__);
8 struct s {
9 int k;
12 int n;
13 struct s *a1, *(*use)[];
14 float (*vector)[];
16 void
17 foo (float *V)
19 int i, used = 0;
21 vector = malloc (i * sizeof (float));
22 while ((*use)[used] != a1)
23 used += 1;
24 for (i = 0; i < n; i++)
25 *V += (*vector)[i];