Message ID | ecc83f90-bd6a-4668-9408-9ad539db6233@ventanamicro.com |
---|---|
State | New |
Headers | show |
Series | [committed,NFC] Fix riscv_init_cumulative_args for unused arguments | expand |
diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index 1f9546f4d3e..3ba45ffaa74 100644 --- a/gcc/config/riscv/riscv.cc +++ b/gcc/config/riscv/riscv.cc @@ -4873,11 +4873,7 @@ riscv_pass_fpr_pair (machine_mode mode, unsigned regno1, 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));