Commit f29b9db9 by J"orn Rennecke Committed by Joern Rennecke

* tree.c (iterative_hash_expr): Use real_hash.

From-SVN: r82720
parent 2435e036
2004-06-07 J"orn Rennecke <joern.rennecke@superh.com>
* tree.c (iterative_hash_expr): Use real_hash.
2004-06-07 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/14765
......
......@@ -3846,8 +3846,11 @@ iterative_hash_expr (tree t, hashval_t val)
val = iterative_hash_object (TREE_INT_CST_HIGH (t), val);
}
else if (code == REAL_CST)
val = iterative_hash (TREE_REAL_CST_PTR (t),
sizeof (REAL_VALUE_TYPE), val);
{
unsigned int val2 = real_hash (TREE_REAL_CST_PTR (t));
val = iterative_hash (&val2, sizeof (unsigned int), val);
}
else if (code == STRING_CST)
val = iterative_hash (TREE_STRING_POINTER (t),
TREE_STRING_LENGTH (t), val);
......
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