From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2FA713858D32; Mon, 15 Apr 2024 17:36:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2FA713858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713202588; bh=S8OMXeGvx22SlUL0iHDFkcGRc55hLmjowgVZjR8wRrY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CYh3r54ojlOM0/dc+3XJ7D8EGi/ff7/rQgL3o7Gdnb9N/WMUoGxm4yXPXL8axqMRz b6fxuYBbznGY79KFrTL7wm8wpdcrHjLGbc5XhqKzTi3EzbuckwdoAzlaQFHkyZpui3 sk1YcVR2LnzyJsGg7srXmVzK1QhUXRG8texq0zWE= From: "patrick at rivosinc dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114665] [14] RISC-V rv64gcv: miscompile at -O3 Date: Mon, 15 Apr 2024 17:36:27 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: patrick at rivosinc dot com 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=3D114665 --- Comment #4 from Patrick O'Neill --- Reran as requested in pr114668. Still present with that fix. I'll triage some other testcases and file those as well. Hopefully one of t= hem is a duplicate to this one that is easily reproducible. GCC: r14-9976-gf8409c3109d QEMU: v8.2.1 (f48c205fb42be48e2e47b7e1cd9a2802e5ca17b0) Commands: > /scratch/tc-testing/tc-apr-15/build-rv64gcv/bin/riscv64-unknown-linux-gnu= -gcc -march=3Drv64gcv -O3 red.c -o red.out > /scratch/tc-testing/tc-apr-15/build-rv64gcv/bin/qemu-riscv64 red.out 35 > /scratch/tc-testing/tc-apr-15/build-rv64gcv/bin/riscv64-unknown-linux-gnu= -gcc red.c -o red.out > /scratch/tc-testing/tc-apr-15/build-rv64gcv/bin/qemu-riscv64 red.out FFFFFFB5=