Message ID | 20230721095727.221308-1-juzhe.zhong@rivai.ai |
---|---|
State | New |
Headers | show |
Series | [committed] RISC-V: Fix redundant variable declaration. | expand |
diff --git a/gcc/config/riscv/riscv-v.cc b/gcc/config/riscv/riscv-v.cc index eb92451948e..31575428ecb 100644 --- a/gcc/config/riscv/riscv-v.cc +++ b/gcc/config/riscv/riscv-v.cc @@ -3212,7 +3212,7 @@ prepare_gather_scatter (machine_mode vec_mode, machine_mode idx_mode, void expand_gather_scatter (rtx *ops, bool is_load) { - rtx ptr, vec_offset, vec_reg, len, mask; + rtx ptr, vec_offset, vec_reg; bool zero_extend_p; int scale_log2; rtx mask = ops[5];