https://gcc.gnu.org/g:86a5e7770caad6d5449b19d66f8f1b32b89abea0

commit r16-3392-g86a5e7770caad6d5449b19d66f8f1b32b89abea0
Author: Jeff Law <j...@ventanamicro.com>
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.

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 41ee81b93acf..985fe67f8227 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -6412,7 +6412,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;

Reply via email to