https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119572
Bug ID: 119572 Summary: [15 Regression] Recent change triggers regression on RISC-V vector test Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: law at gcc dot gnu.org Target Milestone: --- This change: commit 70391e3958db791edea4e877636592de47a785e7 Author: Kyrylo Tkachov <ktkac...@nvidia.com> Date: Mon Mar 24 01:53:06 2025 -0700 PR middle-end/119442: expr.cc: Fix vec_duplicate into vector boolean modes In this testcase GCC tries to expand a VNx4BI vector: vector(4) <signed-boolean:4> _40; _39 = (<signed-boolean:4>) _24; _40 = {_39, _39, _39, _39}; [ ... ] Is triggering this failure on RISC-V: Tests that now fail, but worked before (1 tests): unix/-march=rv64gc_zba_zbb_zbs_zicond: gcc: gcc.target/riscv/rvv/autovec/pr119114.c -O3 -ftree-vectorize execution test Neither Robin nor I have done any debugging on this, though we have a suspicion that it's likely a target specific issue, possibly with vsetvl handling.