https://gcc.gnu.org/g:1f1819d28eafd86f2f2ae44f3e82b3e50bbb9c46
commit 1f1819d28eafd86f2f2ae44f3e82b3e50bbb9c46 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 bc23a30a696b..8340475691c6 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;
