https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121510
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Robin Dapp <rd...@gcc.gnu.org>: https://gcc.gnu.org/g:1c824f038848870219105a5fa16c48a2e0746643 commit r15-10297-g1c824f038848870219105a5fa16c48a2e0746643 Author: Robin Dapp <rd...@ventanamicro.com> Date: Fri Sep 5 09:35:46 2025 +0200 RISC-V: Check if we can vec_extract [PR121510]. For Zvfhmin a vector mode exists but the corresponding vec_extract does not. This patch checks that a vec_extract is available and otherwise falls back to standard handling. PR target/121510 gcc/ChangeLog: * config/riscv/riscv.cc (riscv_legitimize_move): Check if we can vec_extract. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/pr121510.c: New test. (cherry picked from commit a6bf07653cd272add46a2218ec141c95d7f02427)