* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20040311-2.c
blob0d0d5da325923f76eb9b869d69b425dbaa357d3d
1 /* PR target/14533 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fpic" } */
5 void bar (char *, int);
7 extern char b[];
8 extern int d, e;
9 struct S
11 struct S *m;
12 int n;
13 } **g;
15 void
16 foo (int x, char *y)
18 struct S *h;
19 int k = 1, l;
21 again:
22 for (h = *g; h != (struct S *) g; h = h->m)
24 if (k == 0 && h->n & 0x100000);
25 l = y - b;
26 if (e)
27 bar (b, l);
28 if (d)
29 bar (b, l);
31 if (k)
33 k = 0;
34 goto again;