From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5E0553856DF1; Wed, 7 Jun 2023 15:20:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E0553856DF1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686151227; bh=jQu0NwRifzSnIuNGdLbMfUfLFFrvjAJI/XPUO6dSBdY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A9XNCRfS+ILRhw3gWO6wmhrbi7EGp10DmU5XIaR5vTwyqJBKEWZqDJIQRL1Yq/23U Tdhd9JAH5cG8IVJps0CNYrjCCnyf/KZDZiecfSDXiJm88KzpgX9IGLsVjyDtdPdq+U Ce/pnTL2abXqUtQ84tU8TXNF3IhGwo9jT04suxvw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/54571] Missed optimization converting between bit sets Date: Wed, 07 Jun 2023 15:20:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.8.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=3D54571 --- Comment #5 from Andrew Pinski --- The `popcount(nz) =3D=3D 1` comment part of PR 103216 will fix this issue.=