From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9C5E53858D35; Sat, 6 May 2023 23:13:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C5E53858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683414831; bh=ocEXRKYWyZoLmoQlxOP0RTS93O3L2eBhzCRVqLxIYeA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CMifswAdmc4XfetWywytH/8NBCSrUsBZKf26KkvdhsWqqpRHB67nMJ0l0HGZE009m ieqs0YHka7oVBCDo11cFf4jSXbHa9eDfnstenglBXwZRIxQb6K+ZAfBKTA7fS1ckrA LEDtgEFluaKtdUXRwqWZzj9hjTGiCUWjtSJTmRHE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/19832] don't remove an if when we know the value is the same as with the if (subtraction) Date: Sat, 06 May 2023 23:13:51 +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: 4.0.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D19832 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > I will implement this match pattern since that is all that is needed now > with phiopt using match. Funny I came up with the same match patterns twice now.=