From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 44DEA3858CDA; Tue, 24 Oct 2023 23:35:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44DEA3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698190525; bh=YeyXtfmML8/5SkR6Hgw5RodMszGuaEvdMPUYkCOlHJg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qL9mWXgx++iCuj9PvY2+IppPgo2JVX8sPLnXrOjxNPKhNKLGlrSShcvjjF0afwYXr euKlRLoojho0gegbHKz+9RUiIky4bC0HK9as8mDcR6Bhe11VFGFmURlJfJ6GG6+VYB FpfaWx2fNexme4+zphMc6uqrKydl+hE/4UGwi21A= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111957] `a ? abs(a) : 0` is not simplified to just abs(a) Date: Tue, 24 Oct 2023 23:35:25 +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: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D111957 --- Comment #3 from Andrew Pinski --- Created attachment 56196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56196&action=3Dedit patch which I am testing=