https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111295
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Pan Li <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:1b4c70d4271a00514ae20970d483c3b78d9d66ef commit r14-3743-g1b4c70d4271a00514ae20970d483c3b78d9d66ef Author: Juzhe-Zhong <juzhe.zh...@rivai.ai> Date: Wed Sep 6 20:47:24 2023 +0800 RISC-V: Fix VSETVL PASS AVL/VL fetch bug[111295] Fix bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111295 gcc/ChangeLog: PR target/111295 * config/riscv/riscv-vsetvl.cc (insert_vsetvl): Bug fix. gcc/testsuite/ChangeLog: PR target/111295 * gcc.target/riscv/rvv/autovec/pr111295.c: New test.