From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B98C3858D3C; Wed, 1 Feb 2023 15:02:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B98C3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675263746; bh=NkdPxoaMXRFEYrfC24+gwdzOxwUL8GIWjbCoGrO/KEY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cU1qTq+K6JvqGEBzZb502kmNIpXLd6qRDoydTRw/NRCyYCAlyoQzXxGaCjJE61ol6 2FI00TOXAbjjjmJXG8SYzoqsJucrwphyBLk8DbOF9jUJswaBh4pfRDX9uSvSJWVIUW tBy0T6ecw8vMvXGFIuQgawxkNtHgQMxwp782SZhg= From: "amacleod at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108385] [12 Regression] false positive -Wfree-nonheap-object Date: Wed, 01 Feb 2023 15:02:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amacleod at redhat dot com 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: 12.3 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=3D108385 --- Comment #11 from Andrew Macleod --- To be clear, the reason it is unlikely to be ported to GCC12 is because this depends on relation support in GORI to recognize the LHS and operand 1 are equivalent. That support was first added in GCC13, and is too significant a chunk of work to port back to GCC12.=