This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/51725] [4.7 regression] segfault in stage 3 when compiling gcc/opts.c for sparc64-linux
- From: "jakub 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 20:57:33 +0000
- Subject: [Bug bootstrap/51725] [4.7 regression] segfault in stage 3 when compiling gcc/opts.c for sparc64-linux
- Auto-submitted: auto-generated
- References: <bug-51725-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51725
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-03 20:57:33 UTC ---
Author: jakub
Date: Tue Jan 3 20:57:29 2012
New Revision: 182858
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182858
Log:
PR bootstrap/51725
* cselib.c (new_elt_loc_list): When moving locs from one
cselib_val to its new canonical_cselib_val and the
cselib_val was in first_containing_mem chain, but
the canonical_cselib_val was not, add the latter into the
chain.
(cselib_invalidate_mem): Compare canonical_cselib_val of
addr_list chain elt with v.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cselib.c