[Bug c++/98570] [8/9/10/11 Regression] ICE: canonical types differ for identical types
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 3 17:51:32 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98570
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:5c62e4f255bfac65e18213fd93ee1c9908b4a750
commit r11-7089-g5c62e4f255bfac65e18213fd93ee1c9908b4a750
Author: Jason Merrill <jason@redhat.com>
Date: Wed Feb 3 00:29:00 2021 -0500
c++: Fix alias comparison [PR98926]
The comparison of dependent aliases wasn't working here because
processing_template_decl wasn't set, so dependent_alias_template_spec_p was
always returning false.
gcc/cp/ChangeLog:
PR c++/98926
PR c++/98570
* pt.c (spec_hasher::equal): Set processing_template_decl.
* Make-lang.in (check-g++-strict-gc): Add --param
hash-table-verification-limit=10000.
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/alias-decl-dr1558.C: Pass --param
hash-table-verification-limit=10000.
More information about the Gcc-bugs
mailing list