1 /* { dg-additional-options "-Wno-analyzer-symbol-too-complex" } */
8 void test_1 (struct node
*n
)
12 struct node
*next
= n
->next
;
18 extern void *get_ptr (void);
23 while (p
= get_ptr ())
24 __builtin_free (p
); /* { dg-bogus "double-'free' of 'p'" } */
27 extern void **get_ptr_ptr (void);
32 while (p
= get_ptr_ptr ())
33 __builtin_free (*p
); /* { dg-bogus "double-'free'" } */
41 __builtin_free (p
); /* { dg-bogus "double-'free' of 'p'" } */