2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr79499.c
blob509549ff2fd7b9126ae8be772b1f49fb58982a3f
1 /* PR middle-end/79499 */
2 /* { dg-do compile { target split_stack } } */
3 /* { dg-options "-O2 -fsplit-stack -fno-omit-frame-pointer" } */
5 struct S { struct S *a, *b; };
7 void
8 foo (struct S *x)
11 x->b = x->a;
12 while (x = x->a);