From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7525F3858C74; Tue, 26 Mar 2024 20:35:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7525F3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711485326; bh=m4pbhJG8vkuTN9vEgStbAm6wV7PSVp8x5Yhz7c6y1Ck=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dSQt7TJv3K4+2neR7XkyWv0FdBqNtSAdtNVqCN0e4j3VEmvBe1VF4XPsGRkybWUvO 8GIvaOGq9XUPqyD6ugj+ICKIFU2WNAHQTUqZeUTObnznntHoTNsgLeyFhUSSYZ1Bls lSFi+2iCOstgV2V1+inaRMwWg66n1GOgSTQlb+24= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114485] [14] Wrong code with -O3 -march=rv64gcv on riscv Date: Tue, 26 Mar 2024 20:35:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.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: cf_gcctarget 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=3D114485 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target|riscv*-*-* |riscv*-*-* aarch64-*-* --- Comment #1 from Andrew Pinski --- [apinski@xeond2 upstream-cross-aarch64]$ ./install/bin/aarch64-linux-gnu-gcc -O3 t67.c -static .[apinski@xeond2 upstream-cross-aarch64]$ ./install-qemu/bin/qemu-aarch64 a= .out 8 [apinski@xeond2 upstream-cross-aarch64]$ ./install/bin/aarch64-linux-gnu-gcc -O3 t67.c -static -march=3Darmv9-a+sve2 [apinski@xeond2 upstream-cross-aarch64]$ ./install-qemu/bin/qemu-aarch64 a.= out 4294967288=