re PR debug/51746 (Segfault in cselib_preserved_value_p)
PR debug/51746 * cselib.c (cselib_hash_rtx): Hash incoming VALUEs too. From-SVN: r182963
This commit is contained in:
parent
09228fefca
commit
7483eef82a
@ -1,3 +1,8 @@
|
||||
2012-01-06 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR debug/51746
|
||||
* cselib.c (cselib_hash_rtx): Hash incoming VALUEs too.
|
||||
|
||||
2012-01-06 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* c-decl.c (ext_block): Moved up.
|
||||
|
@ -1020,6 +1020,10 @@ cselib_hash_rtx (rtx x, int create, enum machine_mode memmode)
|
||||
|
||||
switch (code)
|
||||
{
|
||||
case VALUE:
|
||||
e = CSELIB_VAL_PTR (x);
|
||||
return e->hash;
|
||||
|
||||
case MEM:
|
||||
case REG:
|
||||
e = cselib_lookup (x, GET_MODE (x), create, memmode);
|
||||
|
Loading…
Reference in New Issue
Block a user