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: "aoliva at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 07 Jan 2012 21:37:20 +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 #20 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-01-07 21:37:20 UTC ---
Author: aoliva
Date: Sat Jan 7 21:37:15 2012
New Revision: 182982
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182982
Log:
PR bootstrap/51725
* cselib.c (new_elt_loc_list): Promote addr_list to canonical node.
Add canonical node to containing_mem chain after the non-canonical
one, even if there weren't any locs to propagate.
(remove_useless_values): Keep only canonical values.
(add_mem_for_addr, cselib_lookup_mem): Canonicalize addr.
(cselib_invalidate_mem): Likewise. Ensure v is canonical, and
canonicalize mem_chain elements that are not discarded.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cselib.c