From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B0E593858C39; Tue, 7 Mar 2023 16:14:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0E593858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678205645; bh=PDfm7/vOiyAgCGuZO2gJGCOzKVvifXRcLv8Ov43mwzY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EQL7bdh/WjEli4k34Y6xE3+58ctoy1WCm9MBzaMxsOIpq+gXDSguKmflXuAN36b9w PIjo8wHXaz236g8xWsLsRganIsr+VM2dsErp5xFshB8Y+D853LKRw/hQmmJDIMLhWF 2J6XEsRtXcO7HJe6Os1DU0jzDfnTmvxvk5DoZxfI= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108165] -Wdangling-reference false positive Date: Tue, 07 Mar 2023 16:14:04 +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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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: bug_status resolution 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=3D108165 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #15 from Marek Polacek --- I'm sorry but I think I'm going to close this PR without attempting to deal with the false positive in the compiler. Please add a #pragma around the function that provokes this warning. Sorry again.=