From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 02F123858D28; Fri, 6 Jan 2023 06:35:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02F123858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672986917; bh=3Lpl/s88NrxiXaG7jmeSkj3T1qNWA7PNAxZX9EorJvM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LIheW5vwVeWvBdVom0pJSDwzmcPwYmKU5u+PQtM8AVZGPe+MoMONUfXVIHEjvY3C0 UVKc38GjN0zvvAvBg+A0YHDt2Z1c3AwWLWaWNJYliPisrTdsK7Do2p++ymXUuBgOl1 ZLo8fIbEbWUHdzB29EOjWvgBG/gDAYvsBXQMD+1c= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108303] lookup failes with requires clause on non-template friend function of a class template Date: Fri, 06 Jan 2023 06:35:16 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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=3D108303 --- Comment #2 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #1) > Currently=C2=A0we=C2=A0don't=C2=A0mangle=C2=A0requirements,=C2=A0so=C2=A0= the=C2=A0foos=C2=A0all=C2=A0mangle=C2=A0the=C2=A0same=C2=A0and > actually=C2=A0instantiating=C2=A0#1=C2=A0will=C2=A0break,=C2=A0but=C2=A0f= or=C2=A0now=C2=A0we=C2=A0can=C2=A0test=C2=A0that=C2=A0they're > considered=C2=A0distinct. That would be PR 100825 .=