From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 01C0E3858D28; Fri, 11 Aug 2023 17:38:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01C0E3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691775494; bh=FWJruK28AXzvo9xQ9BKU7vD4HtyPREEESy9ryz6wgkg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PagO50V4OOAlfaOSdPNCm/JELgtTUGhiT8qRMdCNjhYZM3H9osbZw/10ywIPXYKaq cfyFqklFliAx8Mab6R5JD5xqmMQQnJ3DgI/45U6wvCl/GracO4uvYp8QRJsfgXDfx3 nmzqJtnM9d/eScfdzxIm56vxFoJQQqFkLcEvK1BE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110992] [14 Regression] Dead Code Elimination Regression at -O3 since r14-1654-g7ceed7e3e29 Date: Fri, 11 Aug 2023 17:38:13 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone everconfirmed cf_reconfirmed_on bug_status 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=3D110992 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.0 Ever confirmed|0 |1 Last reconfirmed| |2023-08-11 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski --- Confirmed the problem is ethread is not able to do the jump threading with = the new IR: ``` Checking profitability of path (backwards): bb:3 (3 insns) bb:2 Control statement insns: 2 Overall: 1 insns Registering killing_def (path_oracle) b.0_1 Registering killing_def (path_oracle) _7 Registering killing_def (path_oracle) _6 Registering killing_def (path_oracle) _25 Registering killing_def (path_oracle) _3 Registering killing_def (path_oracle) c.1_2 path: 2->3->xx REJECTED ``` I don't understand why though ...=