From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55A5A3858CD1; Mon, 11 Mar 2024 17:11:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55A5A3858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710177117; bh=BXQnqLYpzcP9JeHE1RuiVM9+gJjrmu/QAD6z4b2PKs8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i/ZFDBryaN8UWZBVdCYctQ9QcgkQraQCmFtNwFTPSLHBHhT2jzDLujCgKuJa4g6P2 LMd6p05mAFDbwWBELuYewrBRci5FLS82Y5U25rLKbFBKlxfzqUUmZpqPfUTAMwY2MY vvSGUEtfbEVyOEQPw2TA2faw8WTwRXDNsc+qJnQM= From: "rzinsly at ventanamicro dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114277] [11/12/13/14 Regression] Missed optimization: x*(x||b) => x Date: Mon, 11 Mar 2024 17:11:55 +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: rzinsly at ventanamicro dot com 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: 11.5 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=3D114277 --- Comment #3 from Raphael M Zinsly --- Created attachment 57670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57670&action=3Dedit proposed patch I created this patch using the approach Jeff mentioned, I tested and it fix= es this bug.=