[Bug c++/100032] [9/10 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
Fri May 13 17:40:52 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:945c2afcb390dd040510ee7a2dc996ad204031c5
commit r9-10162-g945c2afcb390dd040510ee7a2dc996ad204031c5
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