1 /* PR middle-end/79499 */
2 /* { dg-do compile { target split_stack } } */
3 /* { dg-options "-O2 -fsplit-stack -fno-omit-frame-pointer" } */
4
5 struct S { struct S *a, *b; };
6
7 void
foo(struct S * x)8 foo (struct S *x)
9 {
10 do
11 x->b = x->a;
12 while (x = x->a);
13 }
14