This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/51735] [4.7 regression] stage 3 bootstrap failure compiling tree-ssa-pre.c with r182760
- From: "krebbel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jan 2012 08:53:26 +0000
- Subject: [Bug bootstrap/51735] [4.7 regression] stage 3 bootstrap failure compiling tree-ssa-pre.c with r182760
- Auto-submitted: auto-generated
- References: <bug-51735-4@http.gcc.gnu.org/bugzilla/>
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!