1/* PR target/64513 */
2/* { dg-do compile } */
3/* { dg-options "-O2 -mstack-arg-probe" } */
4
5struct A {};
6struct B { struct A y; };
7int foo (struct A);
8
9int
10bar (int x)
11{
12 struct B b;
13 int c;
14 while (x--)
15 c = foo (b.y);
16 return c;
17}
18