From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 97AF33858D33; Sat, 16 Sep 2023 02:42:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97AF33858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694832176; bh=gt2521Sg6yuJSNencQpibG3GkgcsNe/w24MfmF6Y3tM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eqE0ekGIntQ7Hi/N5nJSr7TIpF0zpW5eWDMbNOI5GnhfD3idQUgQTgLa7riBZinKL TmSTxSALdPcblewK0OZnvZX+TpBdCArNjnqHL7hw2fuLszbHE0ukR8xms6OLr/9LnS r3mxrVCrvieX3Ihta9G/F4/BV6/n0rOr830TSFLk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111431] a & (a == 0) is not optimized to 0 Date: Sat, 16 Sep 2023 02:42:56 +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, xfail X-Bugzilla-Severity: normal 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: cf_reconfirmed_on bug_status assigned_to everconfirmed 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=3D111431 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-09-16 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- The following testcases are xfailed because of this missing optimization: gcc.dg/binop-notand1a.c gcc.dg/binop-notand4a.c=