From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A28CA3858C83; Mon, 6 Feb 2023 03:01:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A28CA3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675652518; bh=yMk+IQAgETiW26q73F0Cga5cLH4BPnv56ZqdrxIDSZc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jv47z843XBsI6QTEbcakEn4N+jUCsjghpYawBeqxtiYsJbqrEqmwWtztLCDlF8XtE 8c7pSZYhJgfZXgm74oFdTMAkGDicAoo5w4MqUHIe5rkKLMsc9/THPcjJo+xdbiN3UD VsruJDIoaTt94RG+/2mCrZ4WJdaiM9pR7p1KULqE= From: "ppalka 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: Mon, 06 Feb 2023 03:01:56 +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: ppalka 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 #13 from Patrick Palka --- hb-aat-layout.cc.i and the comment #9 test should be accepted on trunk again now, backport to the 12 branch to follow. The comment #7 testcase I think is invalid because GCC incorrectly accepts = the substitution 'typename U::E [with U=3DE]', which seems to be PR34810.=