From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0CB783858C33; Mon, 7 Aug 2023 05:47:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0CB783858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691387269; bh=cyjph02AKrxvJk4IV8LMfnpWpk0KKzPGEk3lJD6/JEE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CAp58UIJprIzQXZHloIMAG4xjES9UjVrO1WIZGqWhZHPmHN68cL3d//ue0nxqguPj u6jDfV2ogRLZCepBphrPNpBtEukjJNzxxThv9zmdAQc5rCa+s3qk9zYICQNgQAOA/g NYX0TppRuAcMwrdKkdjqxyw/y+6StTxAYmQKeozc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103281] [12/13/14 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0) Date: Mon, 07 Aug 2023 05:47:48 +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.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: dependson 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=3D103281 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |110293 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > We should be able to optimize: This second testcase in comment #1 is now optimized since r14-2501-g285c9d042e90a7425b376 . Likewise the testcase in comment #8. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110293 [Bug 110293] Some `A CMP (A NEEQ 0)` is not simplified in some cases=