Commit 27840768 by Daniel Berlin Committed by Daniel Berlin

tree.c (iterative_hash_expr): Hash decls based on UID.

2006-01-06  Daniel Berlin  <dberlin@dberlin.org>

	* tree.c (iterative_hash_expr): Hash decls based on UID.

From-SVN: r109448
parent b184f89b
2006-01-06 Daniel Berlin <dberlin@dberlin.org>
* tree.c (iterative_hash_expr): Hash decls based on UID.
2006-01-06 Eric Christopher <echristo@apple.com> 2006-01-06 Eric Christopher <echristo@apple.com>
* doc/tm.texi (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Document. * doc/tm.texi (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Document.
......
...@@ -4718,8 +4718,8 @@ iterative_hash_expr (tree t, hashval_t val) ...@@ -4718,8 +4718,8 @@ iterative_hash_expr (tree t, hashval_t val)
if (class == tcc_declaration) if (class == tcc_declaration)
{ {
/* Otherwise, we can just compare decls by pointer. */ /* DECL's have a unique ID */
val = iterative_hash_pointer (t, val); val = iterative_hash_host_wide_int (DECL_UID (t), val);
} }
else else
{ {
......
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