Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr82564.c
blob: 039f55a3985874caa85ac43d968dc667745391db [
file
] [
log
] [
blame
]
/* PR middle-end/82564 */
/* { dg-require-effective-target alloca } */
int
main
()
{
int
t
=
8
,
i
;
typedef
struct
{
char
v
[
t
];
}
B
;
B a
,
b
;
B __attribute__
((
noinline
))
f
()
{
return
b
;
}
for
(
i
=
0
;
i
<
8
;
i
++)
b
.
v
[
i
]
=
i
;
a
=
f
();
return
0
;
}