Sign in
gnu
/
gcc
/
refs/heads/releases/gcc-9
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr64513.c
blob: 023649609995cfac0907b64adee3a02f343bdf1b [
file
] [
log
] [
blame
]
/* PR target/64513 */
/* { dg-do compile } */
/* { dg-options "-O2 -mstack-arg-probe" } */
struct
A
{};
struct
B
{
struct
A y
;
};
int
foo
(
struct
A
);
int
bar
(
int
x
)
{
struct
B b
;
int
c
;
while
(
x
--)
c
=
foo
(
b
.
y
);
return
c
;
}