[Bug c++/100032] [8/9/10/11 Regression] renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 13 19:20:50 GMT 2021
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 <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:34ec63f1b5c2a4d39aa3b13ade96bcd44e294066
commit r11-8159-g34ec63f1b5c2a4d39aa3b13ade96bcd44e294066
Author: Jason Merrill <jason@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.
More information about the Gcc-bugs
mailing list