1 /* Spurious uninitialized variable warnings, case 1.
2 Taken from cppfiles.c (merge_include_chains) */
3 /* { dg-do compile } */
4 /* { dg-options "-O -Wuninitialized" } */
12 extern void free (void *);
14 void remove_dupes (struct list
*el
)
16 struct list
*p
, *q
, *r
; /* { dg-bogus "r" "uninitialized variable warning" { xfail *-*-* } } */
18 for (p
= el
; p
; p
= p
->next
)
20 for (q
= el
; q
!= p
; q
= q
->next
)