I missed one that's actually hit quite a lot, hashing of the canonical type TYPE_HASH.
Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed as obvious after the previous approval. Richard. * pt.cc (iterative_hash_template_arg): Use iterative_hash_hashval_t to hash TYPE_HASH. --- gcc/cp/pt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc index 04f0a1d5fff..20affcd65a2 100644 --- a/gcc/cp/pt.cc +++ b/gcc/cp/pt.cc @@ -1936,7 +1936,7 @@ iterative_hash_template_arg (tree arg, hashval_t val) default: if (tree canonical = TYPE_CANONICAL (arg)) - val = iterative_hash_object (TYPE_HASH (canonical), val); + val = iterative_hash_hashval_t (TYPE_HASH (canonical), val); else if (tree ti = TYPE_TEMPLATE_INFO (arg)) { val = iterative_hash_template_arg (TI_TEMPLATE (ti), val); -- 2.43.0