From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F1876385C6ED; Wed, 23 Aug 2023 18:14:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1876385C6ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692814455; bh=XlR1j/ZoyFa24F6nfTRrtD2DfXihECZeTNJ1eOlY0/4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dfZiIZJdqtvDpHF3s3TifWMQ2F/BJq40Wgc1YpLzx5gaOHc+wCfni4TbtO9La59+2 o1fvfU3+j2fIQlfpjozgWROuiZOlaluoNIHVxPaEnkAjYdUaOAUqdyKb7RgujDepSH ILB2FylN03nDxdEi9GoZs9qbBqb2JpsOoOzJfEnI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/101356] The non-public member of a local class cannot be accessed by a friend of the class Date: Wed, 23 Aug 2023 18:14:15 +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: 12.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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=3D101356 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > And even this is rejected: This was fixed in GCC 10.5.0, 11.4.0, 12.3.0 and 13+. But the original exam= ple is still broken.=