From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7A243858D28; Thu, 25 May 2023 02:29:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7A243858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684981792; bh=CoR86mKHilu1Si5jt22IZIOQQiwvhQicDVnQMlYZKb8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=raBAiGiF1ZPO1Fg4R9hPOIr1hqUeA62CAoi/HutlS11tNXRxeD4KGCpYKt7TIcm6A weH9U8DERtK1FOYZ/9JmKrmi5dxzSIlnRq2mfjSqHyjDqfRDmvh4KPtrdvtVqgkfiD afB1/4DyeXn6X6OwNobd0ElrLg32mYcA6BhAMH/o= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109960] [10/11/12/13/14 Regression] missing combining of `(a&1) != 0 || (a&2)!=0` into `(a&3)!=0` Date: Thu, 25 May 2023 02:29:52 +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: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status assigned_to 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=3D109960 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|1 |0 Status|ASSIGNED |UNCONFIRMED Assignee|pinskia at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #3 from Andrew Pinski --- Nope not working, even tried to figure out how to modify tree-ssa-reassoc.c= c to teach it about `(bool)a` being the same as `(a & 1) !=3D 0` But I could not figure out how.=