From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2B1FD3858CDA; Tue, 28 Mar 2023 07:31:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2B1FD3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679988679; bh=Oe+FkAehiFvphmdfDm7Sh14p2AzcQqmuKgN9cRhVGtg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Qzg8ppX0wgJe1nNB0P7di8NumlN56Z8XiWNPl3OXTcf+8kO+dNLPun6XW2xbPeufX 8YZ8sXbdWVHauxpRd1Wrm/uOFYRnbuuz6+zEo3FBT66+dlMwLOJX/3iLCazLvoyuST LztqHT1GH1RwONi+zmMglcakhzK+6SpHOV3h/faY= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/109311] [13 Regression] bb_is_just_return miss to realize some bb from r13-6873-g776a5bb5894315 Date: Tue, 28 Mar 2023 07:31:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status target_milestone cf_reconfirmed_on everconfirmed priority 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=3D109311 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Status|UNCONFIRMED |ASSIGNED Target Milestone|--- |13.0 Last reconfirmed| |2023-03-28 Ever confirmed|0 |1 Priority|P2 |P1 --- Comment #2 from Richard Biener --- Doh - thanks for reporting, I'll revert the offending revision and revisit during stage1. I think for the forward walk it indeed wants to reject use-after-return, so to make it identical for the backward walk the check then should be *ret && !*use instead of !*ret && !*use I think.=