https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:34ec63f1b5c2a4d39aa3b13ade96bcd44e294066 commit r11-8159-g34ec63f1b5c2a4d39aa3b13ade96bcd44e294066 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.