Hi, On Tue, 2025-01-21 at 14:46 +0100, Mark Wielaard wrote: > Thanks. And if you need help with that please let people know. > The riscv bootstrap has been broken now for 5 days. > And it really looks like it is as simple as just removing that one > line.
Sorry, I missed that you already pushed the unused variable (commit 3c34cea66). But the bootstrap is still broken because of a format error in the same function: ../../gcc/gcc/config/riscv/riscv.cc: In function ‘void riscv_file_end()’: ../../gcc/gcc/config/riscv/riscv.cc:10378:30: error: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Werror=format=] 10378 | fprintf (asm_out_file, "\t.long\t%x\n", feature_1_and); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | long unsigned int ../../gcc/gcc/config/riscv/riscv.cc: In function ‘void riscv_lshift_subword(machine_mode, rtx, rtx, rtx_def**)’: And an used parameter error just below: ../../gcc/gcc/config/riscv/riscv.cc:11962:36: error: unused parameter ‘mode’ [-Werror=unused-parameter] 11962 | riscv_lshift_subword (machine_mode mode, rtx value, rtx shift, | ~~~~~~~~~~~~~^~~~ cc1plus: all warnings being treated as errors