From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD10B3858407; Tue, 9 Jan 2024 22:05:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD10B3858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704837935; bh=tqJjsZuMFnQlxUUx/z4ngCnc2jW+9T0p6nPX+ad6vXE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dxgDodjSdMWEuzHyh5R36wgwYyCQyVpab0Dy9zIYr9aknP4f9rpBaqPczosH8XVqH 6cigg9vcPaujOb5Ja1pUBVc2h9r+No7+96zE+Lj53lPNMKJQ+DKgYvF/8ezgtYxG+U J7IQtduJj0TT06Tu+AnCdtGxVEppRx/PiUF/2wyw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113010] [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression Date: Tue, 09 Jan 2024 22:05:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: wrong-code 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: --- 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=3D113010 --- Comment #4 from Andrew Pinski --- (In reply to Greg McGary from comment #3) > This fixes it, though I would like second look from someone more familiar > with the combiner: I almost sure this is still an issue with WORD_REGISTER_OPERATIONS .=