This deletes a comment that was accidentally carried over from the MIPS port
that was used as the base for the RISC-V port. This comment is present in
the MIPS port in gcc-4.8, but it is not relevant to RISC-V, at least not the
current definition of RISC-V.
This was tested with riscv{32,64}-{elf,linux} gcc builds.
Committed.
Jim
gcc/
* config/riscv/riscv.h (FUNCTION_ARG_REGNO_P): Fix comment.
---
gcc/config/riscv/riscv.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gcc/config/riscv/riscv.h b/gcc/config/riscv/riscv.h
index 4bbb491ac87..3c9f96d6b4d 100644
--- a/gcc/config/riscv/riscv.h
+++ b/gcc/config/riscv/riscv.h
@@ -516,8 +516,7 @@ enum reg_class
#define FUNCTION_VALUE_REGNO_P(N) ((N) == GP_RETURN || (N) == FP_RETURN)
/* 1 if N is a possible register number for function argument passing.
- We have no FP argument registers when soft-float. When FP registers
- are 32 bits, we can't directly reference the odd numbered ones. */
+ We have no FP argument registers when soft-float. */
/* Accept arguments in a0-a7, and in fa0-fa7 if permitted by the ABI. */
#define FUNCTION_ARG_REGNO_P(N)
\
--
2.17.1