Sign in
gnu
/
gcc
/
feeb0d68f1c7085199c3734e6517a3a4b58309ef
/
.
/
gcc
/
testsuite
/
gcc.dg
/
analyzer
/
uninit-alloca.c
blob: 5dd3f8522d2df7f1d1ac0f5373d94bdb523d8895 [
file
] [
log
] [
blame
]
/* { dg-require-effective-target alloca } */
int
test_1
(
void
)
{
int
*
p
=
__builtin_alloca
(
sizeof
(
int
));
/* { dg-message "region created on stack here" } */
return
*
p
;
/* { dg-warning "use of uninitialized value '\\*p'" } */
}