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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Patrick Palka
<ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:04e8808841c33d94529b144b15af5d11671dde1b

commit r13-7570-g04e8808841c33d94529b144b15af5d11671dde1b
Author: Patrick Palka <ppa...@redhat.com>
Date:   Sat Jul 15 09:47:36 2023 -0400

    c++: mangling template-id of unknown template [PR110524]

    This fixes a crash when mangling an ADL-enabled call to a template-id
    naming an unknown template (as per P0846R0).

            PR c++/110524

    gcc/cp/ChangeLog:

            * mangle.cc (write_expression): Handle TEMPLATE_ID_EXPR
            whose template is already an IDENTIFIER_NODE.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp2a/fn-template26.C: New test.

    (cherry picked from commit 97ceaa110e1607ec8f4f1223200868e1642f3cc7)

Reply via email to