[gcc(refs/vendors/riscv/heads/gcc-15-with-riscv-opts)] Fix RISC-V bootstrap

Jeff Law law@gcc.gnu.org
Sat Sep 6 16:14:10 GMT 2025


https://gcc.gnu.org/g:6980504c7886980e4a572648612aa462a0cb05bf

commit 6980504c7886980e4a572648612aa462a0cb05bf
Author: Jeff Law <jlaw@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.
    
    (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 5f84c4514e13..004cc8384bc7 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;


More information about the Gcc-cvs mailing list