From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9B7E03858D20; Sat, 15 Apr 2023 17:18:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B7E03858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681579084; bh=IbUyZnOKiZJEZ2S4fPfrCY3lgaOwGxUY88l3CwNc+mg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w3v/dQ1hUierh4jIA9H4GEJsSBViA32lbHTXI2bq18xvy7XEm2leuWuQH9fFRC1N5 PgHomqt2KwaNGIMHUCSXcEh1II1F9C58pEh9zMzAi4LJCUieC1G9DHeK6CgL2XuIKE pwIuFjP9a3fheDx4OAWtlDyef6o5M+VjvE5W7/fk= From: "slyfox 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: Sat, 15 Apr 2023 17:18: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D109514 --- Comment #4 from Sergei Trofimovich --- Thank you, Jason! I tested the original code from fheroes2-1.0.3. It also compiles without warnings.=