diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index 1f9546f4d3e..5ee54b92033 100644 --- a/gcc/config/riscv/riscv.cc +++ b/gcc/config/riscv/riscv.cc @@ -4872,12 +4872,7 @@ riscv_pass_fpr_pair (machine_mode mode, unsigned regno1, for a call to a function whose data type is FNTYPE. For a library call, FNTYPE is 0. */ -void -riscv_init_cumulative_args (CUMULATIVE_ARGS *cum, - tree fntype ATTRIBUTE_UNUSED, - rtx libname ATTRIBUTE_UNUSED, - tree fndecl ATTRIBUTE_UNUSED, - int caller ATTRIBUTE_UNUSED) +riscv_init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype, rtx, tree, int) { memset (cum, 0, sizeof (*cum));