From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 62D9E3858D28; Thu, 4 May 2023 00:01:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62D9E3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683158497; bh=Brwn6Cnkz/zKnDEjgfQqjn5fV79HJWwLFQNeDu07088=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XsRL/Q2rAhE7XTSFPM0iMfb1LV9iKZGXDfvyysMSBYDSiLxZ5ftQVyPk7bvC67sAN IMyYXlUqv5dZrdzSxOvpENt3ekE1FBxY49T2oUoPOxcEmlPGWq5zpYU+IA22J2ZeeL lmHhkViqb/TimpkNkmVEZi65NtWv7yp51cCw3DA4= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/101541] Missing ABSU detection at gimple Date: Thu, 04 May 2023 00:01:33 +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: 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: 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=3D101541 --- Comment #4 from Andrew Pinski --- Another one missed: ``` unsigned abssat2 (unsigned x) { int y =3D x; if (y < 0) x =3D -x; return x; } ``` I have a patch for the this case, I think. Working on the other case now.=