From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 65C7D3864836; Fri, 30 Aug 2024 20:35:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65C7D3864836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1725050129; bh=lBW2SvxSCISCRd6qCilXNtgEHI4wB77Ls1EbF5wFKRg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=F/ASqAa9DhfgqOJNaB0rf/rBEqtKxxcneZSRnHFtkwheQL09JnMOus0kdupq2zyqy c1UheHeMjqzWvwIZv4sF6c9E4LNKIeDogSLoTBFvpbJvr6pQrZEwdCqASbReMzIzRZ vEXOjuIm6fh4pjO0Ay5CVB+VlHnMqkUwkiw4DhwQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/115616] c++20: Friend-injecting a template function causes an ICE if you inject after trying to instantiate that function Date: Fri, 30 Aug 2024 20:35:27 +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: 14.1.0 X-Bugzilla-Keywords: 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: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D115616 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ffd56dcc11e32033a1f3a964af584dc32321a125 commit r15-3325-gffd56dcc11e32033a1f3a964af584dc32321a125 Author: Marek Polacek Date: Fri Aug 30 16:34:11 2024 -0400 c++: add fixed test [PR115616] This got fixed by r15-2120. PR c++/115616 gcc/testsuite/ChangeLog: * g++.dg/template/friend83.C: New test.=