re PR bootstrap/51725 (segfault in stage 3 when compiling gcc/opts.c for sparc64...
authorJakub Jelinek <jakub@redhat.com>
Tue, 3 Jan 2012 20:57:29 +0000 (21:57 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Jan 2012 20:57:29 +0000 (21:57 +0100)
commite30afafbbf5b4cf462c68c3e9e172c5989c7d85d
treed967239510b2c4cc283c3acfced9687d6cd9c178
parent346afd846bbed003f8b35d927a319d7f29f87138
re PR bootstrap/51725 (segfault in stage 3 when compiling gcc/opts.c for sparc64-linux)

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.

From-SVN: r182858
gcc/ChangeLog
gcc/cselib.c