From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 135073858431; Mon, 17 Jul 2023 13:52:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 135073858431 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689601921; bh=Cop9OqUTBIv0Ojfc4+a9DyKvpEFeH5V4gRhw6MldZ/g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GCsaBWTNpQBym9U7HBS8SltYIqKgr1DDFmp7NRwgcsTqOOiePlXmHp0t1XHFCmnUi 6GOa6G8eSQMngWkc/0AZEPNV4mUnlj/DYswsHVaFuRBbJLJjmZTD9jVwXvYvpwT4Yk 6fe2PT0D0GBlyaANEo3uWCGoDcHo3sOjLCaAR4RE= From: "cvs-commit at gcc dot 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.3.0 X-Bugzilla-Keywords: ABI, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110524 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:04e8808841c33d94529b144b15af5d11671dde1b commit r13-7570-g04e8808841c33d94529b144b15af5d11671dde1b Author: Patrick Palka 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)=