Commit 79d9b2de by Jason Merrill Committed by Jason Merrill

pt.c (hash_tmpl_and_args): Use iterative_hash_object on template uid.

	* pt.c (hash_tmpl_and_args): Use iterative_hash_object on template
	uid.

From-SVN: r229626
parent dfded2f6
2015-10-31 Jason Merrill <jason@redhat.com>
* pt.c (hash_tmpl_and_args): Use iterative_hash_object on template
uid.
* parser.c (synthesize_implicit_template_parm)
(finish_fully_implicit_template): Make static.
......
......@@ -1682,7 +1682,7 @@ spec_hasher::equal (spec_entry *e1, spec_entry *e2)
static hashval_t
hash_tmpl_and_args (tree tmpl, tree args)
{
hashval_t val = DECL_UID (tmpl);
hashval_t val = iterative_hash_object (DECL_UID (tmpl), 0);
return iterative_hash_template_arg (args, 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