https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111970
--- Comment #7 from Li Pan <pan2.li at intel dot com> --- Seems no luck when --param vect-epilogues-nomask=0. I will have a try with the newest upstream for this issue if everything look OK, and keep you posted. ../__RISC-V_INSTALL___RV64/bin/riscv64-unknown-elf-gcc -march=rv64imafdcv -mabi=lp64d \ -ftree-vectorize -O3 --param riscv-autovec-preference=fixed-vlmax \ --param riscv-autovec-lmul=dynamic --param vect-epilogues-nomask=0 \ -ffast-math -lm gcc/testsuite/gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_run-12.c \ -o test.elf ../build-qemu/qemu-riscv64 -cpu rv64,v=true,vlen=128,elen=64,vext_spec=v1.0 test.elf assertion "dest_int32_t_int8_t[i * 2] == (src_int32_t_int8_t [index_int32_t_int8_t[i * 2]] + 1)" failed: \ file "gcc/testsuite/gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_run-12.c", line 45, function: main ../__RISC-V_INSTALL___RV64/bin/riscv64-unknown-elf-gcc --version riscv64-unknown-elf-gcc (GCC) 14.0.0 20231019 (experimental) Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.