http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51735
--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-01-03 08:53:26 UTC --- (In reply to comment #1) > Is the segfault in the > for (;;) > { > if ((*mem_chain)->elt == v) > { > unchain_one_elt_list (mem_chain); > break; > } > > mem_chain = &(*mem_chain)->next; > } > loop (or, does the #c5 patch from that PR fix it)? Yes. And your patch fixes the problem. Thanks!