Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
941202-1.c
blob: b97ae0e34a736be0b7ac099605dd3e6513536fab [
file
] [
log
] [
blame
]
/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
g
(
x
,
y
)
{
if
(
x
!=
3
)
abort
();
}
static
inline
f
(
int
i
)
{
int
*
tmp
;
tmp
=
(
int
*)
alloca
(
sizeof
(
i
));
*
tmp
=
i
;
g
(*
tmp
,
0
);
}
main
()
{
f
(
3
);
exit
(
0
);
};