PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 950221-1.c
blob8ef83fd5c13cf369c6a0dc7999a5bc498b7bba28
1 /* { dg-add-options stack_size } */
3 struct parsefile
5 long fd;
6 char *buf;
7 };
8 struct parsefile basepf;
9 struct parsefile *parsefile = &basepf;
10 #ifdef STACK_SIZE
11 int filler[STACK_SIZE / (2*sizeof(int))];
12 #else
13 int filler[0x3000];
14 #endif
15 int el;
17 char *
18 g1 (a, b)
19 int a;
20 int *b;
24 g2 (a)
25 long a;
27 if (a != 0xdeadbeefL)
28 abort ();
29 exit (0);
32 f ()
34 register char *p, *q;
35 register int i;
36 register int something;
38 if (parsefile->fd == 0L && el)
40 const char *rl_cp;
41 int len;
42 rl_cp = g1 (el, &len);
43 strcpy (p, rl_cp);
45 else
47 alabel:
48 i = g2 (parsefile->fd);
52 main ()
54 el = 0;
55 parsefile->fd = 0xdeadbeefL;
56 f ();