From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D980C3858C66; Thu, 11 Jan 2024 02:50:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D980C3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704941428; bh=8D59P0SD232R7cI91yCg3l6p+WZuPOcgDaYxs8hWAy0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=y1EzOcuCpfcOGHdzEiDKd3BdSUkWk2A421fsYMruuze3nWQ7M/wLD4T0EuU7TqMsZ Gp/eX7luJExayxs1ra4XJRqVv9nwJkOqMxt3NiJpMNr7+skhnla94Yi59siMJ53eLu v0Ny4s1VrNglaMfW5aq81wHIwyRtYxpu3+zLv0BI= From: "gkm at rivosinc dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113010] [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression Date: Thu, 11 Jan 2024 02:50:28 +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: gkm at rivosinc dot com 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: --- 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 #7 from Greg McGary --- (In reply to Greg McGary from comment #6) > I agree that it pertains to WORD_REGISTER_OPERATIONS. However, the check > needs to happen. ... needs to happen *earlier*. (I wish comments were editable)=