Sign in
gnu
/
gcc
/
e0a7a6752dad7848eb4b29b826a551c0992256ec
/
.
/
gcc
/
testsuite
/
gcc.dg
/
analyzer
/
pr94047.c
blob: d13da3eb04487b9d0987d01765ece14b243d8747 [
file
] [
log
] [
blame
]
typedef
struct
list
{
struct
list
*
next
;
}
tlist
;
void
bar
(
struct
list
*
l
)
{
l
->
next
=
l
->
next
->
next
;
}
void
foo
(
void
)
{
struct
list
l
;
tlist t
=
l
;
/* { dg-warning "use of uninitialized value 'l'" } */
for
(;;)
bar
(&
t
);
}