From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3E7A3858C52; Sat, 4 Feb 2023 17:14:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3E7A3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675530880; bh=odqb3ncqbaJY0HCzT6mbSjhnVI+rBhMU9kgHjgqkDeQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=H7KWhz9fpDniTaD4YS0Xi/1Po09FnEJy3HQ9ztzKlYw+cn8iEq2z0A/sUc6G7TZEC DK420KL7p5emzT2ek6HVdd6P3xegYclwv6oaGu6c0RYNs+yyxNZ3CTgxT1UdcTtTcU Piy9zvKIYAbgksgDYsL0zGBoBipm9IyUKhUwKQJI= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107461] [12/13 Regression] ambiguity error for friend with templated constexpr argument Date: Sat, 04 Feb 2023 17:14:40 +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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 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=3D107461 --- Comment #11 from Jakub Jelinek --- (In reply to Patrick Palka from comment #9) > (In reply to Jakub Jelinek from comment #7) > > Reduced testcase: >=20 > Interestingly Clang also rejects this testcase, so I'm not sure if we were > correct to accept it previously. Note, the reduction was done purely with a test that it compiles without er= rors before your commit and with 1-3 errors "no matching function for call to" a= fter it. Another thing is whether harfbuzz full source is valid or not, but that mig= ht be more difficult to find out because clang doesn't support the same builtins/traits etc.=