https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:b3411d7a36ee1d38923dcf9db26a1dd252827b64

commit r11-9682-gb3411d7a36ee1d38923dcf9db26a1dd252827b64
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Jan 25 15:12:16 2022 -0500

    c++: alias template and typename [PR103057]

    Usually we handle DR1558 substitution near the top of tsubst, but in this
    case while substituting TYPENAME_TYPE we were passing an alias
    specialization to tsubst_aggr_type, which ignored its aliasness.

            PR c++/103057

    gcc/cp/ChangeLog:

            * pt.c (tsubst_aggr_type): Call tsubst for alias template
            specialization.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp0x/alias-decl-void1.C: New test.
  • [Bug c++/103057] [11 Regression... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to