FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 930529-1.c
blob70b2cb8f90cab3999b78cd8e8fbc5226eae8d24a
1 struct r
3 int d1, d2;
4 };
6 struct km
8 int d;
9 };
11 struct f1
13 char *fn;
14 char *fd;
15 char *fs;
16 char *ic;
17 void (*ff) ();
20 int g ();
22 int y;
23 struct r *bs;
24 int bv;
26 void b ();
27 char *w ();
29 struct km **q;
30 char **mns;
31 int nm;
32 struct f1 **z;
34 f (char *km, char *h)
36 struct f1 *t;
37 int map = midn(km, strlen(km));
38 int V;
39 int c;
40 struct r r;
41 struct f1 *cm;
43 if (!g(&V, &cm, h, strlen(h)))
45 c = (cm - z[V]);
46 goto L;
49 for (c = 0; c < nm; c++)
50 if (!strcmp (h, mns[c]))
52 V = -1;
53 goto L;
56 for (c = 0; c < y; c++)
58 if (!memcmp (&bs[c], &r, 8))
59 goto L;
62 h = w (&r);
63 if (!bv)
65 bs = g (8);
66 t = (struct f1 *)g (20);
68 else
70 bs = g (bs, y * 8);
71 z[bv] = cr (z[bv], (1 + y) * 20);
72 t = &z[bv][y - 1];
74 bs[y - 1] = r;
75 t->fs[0] = sp (y - 1);
76 t->fs[1] = 0;
77 t->ic = 0;
78 t->fd = 0;
79 t->fn = cs (h);
80 t->ff = b;
82 g (q[map], V, c);