https://gcc.gnu.org/g:44627d0880680db4b7fa8e9edf3ddf6ce822e0ba
commit 44627d0880680db4b7fa8e9edf3ddf6ce822e0ba Author: Jeff Law <[email protected]> Date: Tue Aug 26 06:10:00 2025 -0600 Fix RISC-V bootstrap Recent changes from Kito have an unused parameter. On the assumption that he's going to likely want it as part of the API, I've simply removed the parameter's name until such time as Kito needs it. This should restore bootstrapping to the RISC-V port. Committing now rather than waiting for the CI system given bootstrap builds currently fail. * config/riscv/riscv.cc (riscv_arg_partial_bytes): Remove name from unused parameter. (cherry picked from commit 86a5e7770caad6d5449b19d66f8f1b32b89abea0) Diff: --- gcc/config/riscv/riscv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index c8d6dfb55ec6..b7bb87d1b9d3 100644 --- a/gcc/config/riscv/riscv.cc +++ b/gcc/config/riscv/riscv.cc @@ -6413,7 +6413,7 @@ riscv_arg_partial_bytes (cumulative_args_t cum, rtx riscv_function_value (const_tree ret_type, const_tree fn_decl_or_type, - bool outgoing) + bool) { struct riscv_arg_info info; CUMULATIVE_ARGS args;
