re PR bootstrap/58521 (bootstrap failure: ICE in mem_ref_in_stmt, at tree-ssa-loop-im.c:677)
2013-09-25 Richard Biener <rguenther@suse.de> PR middle-end/58521 * tree.c (iterative_hash_expr): Remove MEM_REF special handling. From-SVN: r202889
This commit is contained in:
parent
123485ca22
commit
ed0d30514f
|
@ -1,3 +1,8 @@
|
|||
2013-09-25 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/58521
|
||||
* tree.c (iterative_hash_expr): Remove MEM_REF special handling.
|
||||
|
||||
2013-09-25 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cgraph.c (cgraph_resolve_speculation): Use semantical equivalency
|
||||
|
|
15
gcc/tree.c
15
gcc/tree.c
|
@ -7280,21 +7280,6 @@ iterative_hash_expr (const_tree t, hashval_t val)
|
|||
}
|
||||
return val;
|
||||
}
|
||||
case MEM_REF:
|
||||
{
|
||||
/* The type of the second operand is relevant, except for
|
||||
its top-level qualifiers. */
|
||||
tree type = TYPE_MAIN_VARIANT (TREE_TYPE (TREE_OPERAND (t, 1)));
|
||||
|
||||
val = iterative_hash_object (TYPE_HASH (type), val);
|
||||
|
||||
/* We could use the standard hash computation from this point
|
||||
on. */
|
||||
val = iterative_hash_object (code, val);
|
||||
val = iterative_hash_expr (TREE_OPERAND (t, 1), val);
|
||||
val = iterative_hash_expr (TREE_OPERAND (t, 0), val);
|
||||
return val;
|
||||
}
|
||||
case FUNCTION_DECL:
|
||||
/* When referring to a built-in FUNCTION_DECL, use the __builtin__ form.
|
||||
Otherwise nodes that compare equal according to operand_equal_p might
|
||||
|
|
Loading…
Reference in New Issue