Commit 7483eef8 by Alexandre Oliva Committed by Alexandre Oliva

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
parent 09228fef
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment