From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 109D13858D38; Fri, 21 Oct 2022 01:38:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 109D13858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666316309; bh=/3MwA7XrrbuR4gjia8IuXr6/EdnuJa0Obu2wZeB9YW0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Kn8uKtGYZqLpAMKHlyttJ7LN3T1VRxnsEna3DSK19Feic0jgIknWyfqw5BKmTv27a 2WymzkUr0ug8uHLOyJLXzlf9pZhsg+PdEy9jRh4713gcqAWqdonYijn63h4Rh6SB7W uj294eIf0cVDz4loHeNsSApvr2QRS/PGA+BR7h1Y= From: "creatorsmithmdt at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69410] [10/11/12/13 Regression] friend declarations in local classes Date: Fri, 21 Oct 2022 01:38:28 +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: 6.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: creatorsmithmdt at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 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=3D69410 --- Comment #9 from Zopolis0 --- While doing unrelated bisecting, I have tracked down the actual source of t= he issue to c74e6f7cfd7a741fc0477fe3660eec57581b22c5 with significant confiden= ce.=20 It worked fine in gcc11 when the code checked for is_friend, and does not in gcc12 when it checks for hiding, and thats the only part of that code that changed between 11 and 12.=