[Bug bootstrap/51725] [4.7 regression] segfault in stage 3 when compiling gcc/opts.c for sparc64-linux

aoliva at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 7 21:38:00 GMT 2012


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



More information about the Gcc-bugs mailing list