From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7F9243858D1E; Fri, 13 Oct 2023 16:11:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F9243858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697213468; bh=KnT84qOPkKLMZngE+2cSMQyNP6O+tOgD0b2YmDaUKl8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VaAPmRWh+eXmzoChdGTXya70W3Z18hg5nwJR89a35qLuGpTxTIreAjrO1QnFZ8MOa LKKbnGeZARFPMu/h0n3AMgsmu0WLxF1kT654x0pRAnFg1jSkbljfUK0KmexJZgnvVr IaquQ7zJ9isrbCDt/JdndAZ3cirOXlwIKsv+hKoc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111801] [14 Regression] Missed Dead Code Elimination since r14-4141-gbf6b107e2a3 Date: Fri, 13 Oct 2023 16:11:08 +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: cf_reconfirmed_on 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=3D111801 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-10-13 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- Confirmed. What happens after the patch is `if (j =3D=3D &g =3D=3D 0)` still is kept a= round and we decide to jump thread into that block and duplicate the `if (f)` there (I think) and then there is a missing PRE (I think) where we could see that f = is stored and we load from f.=