From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F4733858C5E; Fri, 14 Apr 2023 17:17:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F4733858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681492633; bh=wDH6MRf8a4V/id1DRQvnX4V1BALkkCA5+MhH/CzY7qg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=G8hf381mvvAhSxLYmb1ORbHBHgpjHdK4J/aV3pVrqPuyO0H+a9fr7ToQYoby0RFho sG4/pGqC/mmxrPrkxz6kKhKKf/0WvCedaCwZLtecnw9+5OYzH5Ae63PEBKy08Cilxb 4rD72R0PJ9h5O3SeOnbI2+jsjM26yARzu5W8Wz3Q= From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109514] [13 regression] -Werror=dangling-pointer false positive nn fheroes-1.0.3 (lambdas) Date: Fri, 14 Apr 2023 17:17:12 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc assigned_to bug_status everconfirmed 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=3D109514 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-04-14 CC| |jason at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gn= u.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #1 from Jason Merrill --- Confirmed. -Wdangling-pointer shouldn't warn about a store to an unknown object. And it should be able to figure out that this store is to sr itsel= f, and not warn for that reason as well.=