blob: d989a254c9e07ded309c138db751a953859e5877 [file] [log] [blame]
/* { dg-additional-options "-Wno-analyzer-too-complex" } */
/* TODO: the above ought not to be necessary, but currently is due to a
state explosion within the for loop. */
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;
for (;;)
bar (&t);
}