]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix RISC-V bootstrap
authorJeff Law <jlaw@ventanamicro.com>
Tue, 26 Aug 2025 12:10:00 +0000 (06:10 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 26 Aug 2025 12:11:05 +0000 (06:11 -0600)
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.

gcc/config/riscv/riscv.cc

index 41ee81b93acf86c01b1b11ccb609b1782e949597..985fe67f8227f7cbb20112ce586a142bb3f1f1d1 100644 (file)
@@ -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;