Hi Maciej:

Sorry for disturbing, pushed a fix for that, and...added
-Werror=unused-variable to my build script to prevent that happen
again :(

On Mon, Jul 31, 2023 at 7:08 PM Maciej W. Rozycki <ma...@embecosm.com> wrote:
>
> On Mon, 31 Jul 2023, Kito Cheng via Gcc-patches wrote:
>
> > Pushed, thanks :)
>
>  This breaks compilation:
>
> .../gcc/config/riscv/riscv-v.cc: In function 'void 
> riscv_vector::expand_vec_series(rtx, rtx, rtx)':
> .../gcc/config/riscv/riscv-v.cc:1251:16: error: unused variable 'mask_mode' 
> [-Werror=unused-variable]
>  1251 |   machine_mode mask_mode = get_mask_mode (mode);
>       |                ^~~~~~~~~
> .../gcc/config/riscv/riscv-v.cc: In function 'void 
> riscv_vector::expand_vector_init_insert_elems(rtx, const 
> riscv_vector::rvv_builder&, int)':
> .../gcc/config/riscv/riscv-v.cc:2320:16: error: unused variable 'mask_mode' 
> [-Werror=unused-variable]
>  2320 |   machine_mode mask_mode = get_mask_mode (mode);
>       |                ^~~~~~~~~
>
> Please always at the very least build changes and verify that they cause
> no new issues before submitting patches.
>
>   Maciej

Reply via email to