From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 88F4B3858C56; Tue, 26 Mar 2024 05:04:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88F4B3858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711429474; bh=yJr/RI+vosUWi3BrtNFLc5ipDhe+f6Noz/AA1asua9w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HHAb6NTjyGmAmxO4yhYNvUoE4uPMPuoSYvK4SEwwkgRz/NtHdpNwoYZqWAFBYPJN/ 8nb8sUh8qMP/PyT3Ol5jmwfyFlpALZeGYNWYwQ0nvmaf3CDQ7WDaZNqH4HbucKXS/i 9JJ4skyB2+GtPZ/JcIJhKF1PU9Cwdo7dRtNmVlew= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114476] [13/14 Regression] wrong code with -fwrapv -O3 -fno-vector-cost-mode (and -march=armv9-a+sve2 on aarch64 and -march=rv64gcv on riscv) Date: Tue, 26 Mar 2024 05:04:34 +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: needs-bisection, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on component everconfirmed cf_known_to_fail cf_gcctarget keywords short_desc bug_status target_milestone cf_known_to_work 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=3D114476 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-03-26 Component|target |tree-optimization Ever confirmed|0 |1 Known to fail| |13.2.0 Target|riscv*-*-* |riscv*-*-* aarch64 Keywords| |needs-bisection Summary|[14] RISC-V rv64gcv vector: |[13/14 Regression] wrong |Runtime mismatch at -O3 |code with -fwrapv -O3 | |-fno-vector-cost-mode (and | |-march=3Darmv9-a+sve2 on | |aarch64 and -march=3Drv64g= cv | |on riscv) Status|UNCONFIRMED |NEW Target Milestone|--- |14.0 Known to work| |12.3.0 --- Comment #1 from Andrew Pinski --- Happens on aarch64 with `-march=3Darmv9-a+sve2 -fno-vect-cost-model` even i= n GCC 13.2.0.=