https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537
--- Comment #6 from JuzheZhong <juzhe.zhong at rivai dot ai> --- We can add if (!flag_tree_vectorize) return false; in riscv_vector::expand_block_move But I am not sure whether other RISC-V folks is happy with that. CCing other folks to see whether they allow it.