3 extern void abort (void);
5 struct node
{ struct node
*next
, *prev
; } node
;
6 struct head
{ struct node
*first
; } heads
[5];
8 struct head
*head
= &heads
[2];
10 static int __attribute__((noinline
))
13 node
.prev
= (void *)head
;
16 struct node
*n
= head
->first
;
17 struct head
*h
= &heads
[k
];
19 if (n
->prev
== (void *)h
)
22 n
->prev
->next
= n
->next
;
25 return n
->next
== &node
;