public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype
Date: Mon, 17 Jul 2023 13:52:00 +0000	[thread overview]
Message-ID: <bug-110524-4-pkdbFO8hH0@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-110524-4@http.gcc.gnu.org/bugzilla/>

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
<ppalka@gcc.gnu.org>:

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

commit r13-7570-g04e8808841c33d94529b144b15af5d11671dde1b
Author: Patrick Palka <ppalka@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)

  parent reply	other threads:[~2023-07-17 13:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
2023-07-03  0:16 ` [Bug c++/110524] " pinskia at gcc dot gnu.org
2023-07-03  0:21 ` pinskia at gcc dot gnu.org
2023-07-03 11:28 ` [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype pinskia at gcc dot gnu.org
2023-07-15 13:53 ` cvs-commit at gcc dot gnu.org
2023-07-15 14:01 ` ppalka at gcc dot gnu.org
2023-07-17 13:52 ` cvs-commit at gcc dot gnu.org [this message]
2023-07-17 13:53 ` ppalka at gcc dot gnu.org
2023-07-27 10:28 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-110524-4-pkdbFO8hH0@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).