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

--- Comment #4 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:1338ad23ff3c1e4f552cdb64e36cef12eda2e050

commit r14-8294-g1338ad23ff3c1e4f552cdb64e36cef12eda2e050
Author: Jason Merrill <ja...@redhat.com>
Date:   Fri Jan 19 13:11:05 2024 -0500

    c++: requires and using-decl [PR113498]

    get_template_info was crashing because it assumed that any decl with
    DECL_LANG_SPECIFIC could use DECL_TEMPLATE_INFO.  It's more complicated
than
    that.

            PR c++/113498

    gcc/cp/ChangeLog:

            * pt.cc (decl_template_info): New fn.
            (get_template_info): Use it.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp2a/concepts-using4.C: New test.

Reply via email to