Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
);
}