Commit ed0d3051 by Richard Biener Committed by Richard Biener

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
parent 123485ca
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
......
......@@ -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
......
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