From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 92A00385E009; Sat, 9 Mar 2024 05:38:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92A00385E009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709962680; bh=GKWfyjQazGUHm8iwCfBgmFJHzKXvn8eOIIP9V5JYrwA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wwXCnJfC3aHewmcLOjbkxEClNq4lob7EKX/FsSU2QH0f46N8FB2UDEz0VAz1ZcHGv dj6g2UXXcwDc+8Pb6BnACCbluoFoq8ab7GyHupcasQV9/1Lvy4r1SOi+/OhkDrF+vr YMe15/h7Ie/OoF7HmLqHf5lr0O/mrnnbe6t7GjdQ= From: "law 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: Sat, 09 Mar 2024 05:37:59 +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: law at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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=3D111801 --- Comment #2 from Jeffrey A. Law --- Interestingly enough this is picked up at -O3. Looks like PRE does a better job and the result is easier to discover the range for first operand of the controlling conditional.=