From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A33363858D37; Thu, 22 Feb 2024 09:13:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A33363858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708593202; bh=1LpN++6bOrYUGu/lP/ZzdWfVwfqZJAkRJlh9q1AplHU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Tgz/a97HocKvdKhdijuk/fLlfBfZ6SsRdhZaeqlEWaNfc3jnesCfZmuciCFFIZXM/ JuctfcByRSJKTZb6wFtT/7MLq/XluIi5oAeK3vzuglOvmiJFx8rfeH07NoGWggnRUN i+vJrveEN9iuYw76LevY+TWylybxpku1RC6UYqSo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114027] [14 Regression] RISC-V vector: miscompile at -O3 Date: Thu, 22 Feb 2024 09:13:22 +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: keywords everconfirmed bug_status target_milestone short_desc component 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=3D114027 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Target Milestone|--- |14.0 Summary|[14] RISC-V vector: |[14 Regression] RISC-V |miscompile at -O3 |vector: miscompile at -O3 Component|target |tree-optimization --- Comment #10 from Andrew Pinski --- Ok, now I am able to reproduce the failure: `-O3 -fno-vect-cost-model -msse4.2` is the exact command line needed. For some reason enabling AVX512 causes the loop not to be vectorize ...=