https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:d83c30ec6c4865ca23a135c067eb9b56ac74a1f2 commit r10-9854-gd83c30ec6c4865ca23a135c067eb9b56ac74a1f2 Author: Jason Merrill <ja...@redhat.com> Date: Tue Apr 13 14:49:29 2021 -0400 c++: alias template equivalence and cv-quals [PR100032] We also need to check that the cv-qualifiers are the same. gcc/cp/ChangeLog: PR c++/100032 * pt.c (get_underlying_template): Compare TYPE_QUALS. gcc/testsuite/ChangeLog: PR c++/100032 * g++.dg/cpp0x/alias-decl-equiv1.C: New test.