From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB5F4385841B; Mon, 31 Oct 2022 02:03:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB5F4385841B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667181829; bh=fdvx21bFCmxndwTFPrC+jFrzLnUPywp6JPh/LYZoia4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cuaEe6wCY/lcu6i1JAashA6n2l2ZeAW7pxYYug0Y/67/ad4fsP6GskXQe0hFyn7XB Wr23D/CIV2eF74gJrSt+O/C1AHycDPjSmgPO8VdGUAp9431KsLDvCJrd6uAnbPnnK8 ee5wCcV0bZ+ZAOtyuir9FdrNq1s/iRbQscx7WvFU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107465] [10/11/12/13 Regression] Bogus warning: promoted bitwise complement of an unsigned value is always nonzero Date: Mon, 31 Oct 2022 02:03:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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=3D107465 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > I have not tested this at all but I suspect this patch will fix the issue: Oh I don't have time to submit this patch either. But maybe someone else co= uld do it.=