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
This commit is contained in:
parent
dfded2f6b4
commit
79d9b2dea2
|
@ -1,5 +1,8 @@
|
||||||
2015-10-31 Jason Merrill <jason@redhat.com>
|
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)
|
* parser.c (synthesize_implicit_template_parm)
|
||||||
(finish_fully_implicit_template): Make static.
|
(finish_fully_implicit_template): Make static.
|
||||||
|
|
||||||
|
|
|
@ -1682,7 +1682,7 @@ spec_hasher::equal (spec_entry *e1, spec_entry *e2)
|
||||||
static hashval_t
|
static hashval_t
|
||||||
hash_tmpl_and_args (tree tmpl, tree args)
|
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);
|
return iterative_hash_template_arg (args, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue