https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103852
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <[email protected]>: https://gcc.gnu.org/g:a11f204e5a30d1dfd2508e3f3014509a0342f604 commit r12-7984-ga11f204e5a30d1dfd2508e3f3014509a0342f604 Author: Jason Merrill <[email protected]> Date: Fri Apr 1 15:55:21 2022 -0400 c++: alias-tmpl equivalence and default targs [PR103852] The suggested resolution for CWG1286, which we implemented, ignores default template arguments, but this PR is an example of why that doesn't make sense: the templates aren't functionally equivalent. PR c++/103852 DR 1286 gcc/cp/ChangeLog: * pt.cc (get_underlying_template): Compare default template args. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/alias-decl-dr1286a.C: Default args now matter. * g++.dg/cpp1z/class-deduction-alias1.C: New test.
