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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:801e82acd6b4f0cf863529875947e394899ea7b9

commit r14-9795-g801e82acd6b4f0cf863529875947e394899ea7b9
Author: centurion <centurion...@proton.me>
Date:   Wed Mar 27 18:36:37 2024 +0000

    c++: alias CTAD and template template parm [PR114377]

    To match all the other places that pull a _TEMPLATE_PARM out of a
    _DECL (get_template_parm_index, etc.).

    This change is too small to be legally significant for copyright.

            PR c++/114377

    gcc/cp/ChangeLog:

            * pt.cc (find_template_parameter_info::found): Use TREE_TYPE for
            TEMPLATE_DECL instead of DECL_INITIAL.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp2a/class-deduction-alias19.C: New test.

    Reviewed-by: Jason Merrill <ja...@redhat.com>

Reply via email to