FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 921111-1.c
blob11b467460b345e0eeb94f0d1a649daa786a9cbb0
1 int ps;
2 struct vp {
3 int wa;
4 };
5 typedef struct vp *vpt;
6 typedef struct vc {
7 int o;
8 vpt py[8];
9 } *vct;
10 struct n {
11 int a;
13 struct nh {
14 int x;
16 typedef struct np *npt;
17 struct np {
18 vct d;
19 int di;
21 struct nh xhp;
22 struct n np[3];
24 f(dp)
25 npt dp;
27 vpt *py;
28 int a, l, o = 0;
29 a = dp->d->o;
30 if (dp->di < 0)
31 l = ps;
33 if ((int)o & 3)
34 g();
36 xhp.x = a;
37 py = &dp->d->py[dp->di];
38 if (o + l > ps)
39 np[2].a = (int)(py[1])->wa;