gcc/
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20070824-1.c
blob74eb58c05b961dbac4e1aff504a12110fb20d84f
1 /* PR tree-optimization/33136 */
3 extern void abort (void);
5 struct S
7 struct S *a;
8 int b;
9 };
11 int
12 main (void)
14 struct S *s = (struct S *) 0, **p, *n;
15 for (p = &s; *p; p = &(*p)->a);
16 n = (struct S *) __builtin_alloca (sizeof (*n));
17 n->a = *p;
18 n->b = 1;
19 *p = n;
21 if (!s)
22 abort ();
23 return 0;