* pt.c (hash_tmpl_and_args): Use iterative_hash_object on template
uid.
From-SVN: r229626
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.
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);
}