From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 80C803858284; Thu, 4 Jan 2024 01:55:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80C803858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704333327; bh=6yNpmnz4TqH8Xc9H/I7WIU5YIar9sl45/2qP4/blyZ0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GB893/6WWxiir6h/IRBSj5oJJjWdSMd+r0DCw09eC/hFriDXykmO9u2OjVTZzLkmc FXXCUSX3ZHFqumn0cKCrBFZH48XCv6MH7aJGoZtaOhAxLRFIX/jhOqDAQb6NSBEEvA DtEwkfM9yGfK2JeNukGQllw3Xsd7rWrdqpoQVjYo= From: "patrick 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, 04 Jan 2024 01:55:07 +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: patrick at rivosinc dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 #2 from Patrick O'Neill --- Andrew I don't think this is a duplicate of pr112758 (or at least it wasn't resolved by the fix for pr112758). I still see the behavior on r14-6902-g4a0a8dc1b88. > /scratch/tc-testing/tc-jan-3-trunk/build-rv64gcv/bin/riscv64-unknown-linu= x-gnu-gcc -O2 -march=3Drv64gc red.c -o user-config.out=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > QEMU_CPU=3Drv64,zbs=3Dtrue timeout --verbose -k 0.1 1 /scratch/tc-testing= /tc-jan-3-trunk/build-rv64gcv/bin/qemu-riscv64 user-config.out > echo $? = 1=