From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81BE4385DC1F; Wed, 6 Apr 2022 13:43:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81BE4385DC1F From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/105178] [11 Regression] g++ incorrectly reports invalid use of incomplete type Date: Wed, 06 Apr 2022 13:43:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: 11.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone bug_status keywords cc cf_reconfirmed_on everconfirmed short_desc see_also 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2022 13:43:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105178 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.3 Status|UNCONFIRMED |NEW Keywords| |rejects-valid CC| |ppalka at gcc dot gnu.org Last reconfirmed| |2022-04-06 Ever confirmed|0 |1 Summary|g++ incorrectly reports |[11 Regression] g++ |invalid use of incomplete |incorrectly reports invalid |type |use of incomplete type See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D104242 --- Comment #2 from Patrick Palka --- Confirmed, trunk and 11.2.0 accept the testcase.=20 This is likely caused by r11-9303-g853b9d54365372 and the same bug as PR104= 242 except reported against 11 instead of trunk. I can confirm that backporting r12-7708-g7a42b1fa1a090e to the 11 branch fixes the testcase there.=