From cc5ae869302448c8d22d706b4f1d938e79396b70 Mon Sep 17 00:00:00 2001 From: Tom Wood Date: Fri, 26 Mar 1993 11:26:53 +0000 Subject: [PATCH] (FUNCTION_VALUE_REGNO_P): Change to agree with FUNCTION_VALUE. From-SVN: r3884 --- gcc/config/i960/i960.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index 5147539f99f..cdcb53a0674 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -714,7 +714,7 @@ enum reg_class { NO_REGS, GLOBAL_REGS, LOCAL_REGS, LOCAL_OR_GLOBAL_REGS, as seen by the caller. On 80960, returns are in g0..g3 */ -#define FUNCTION_VALUE_REGNO_P(N) ((N) < 4) +#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0) /* 1 if N is a possible register number for function argument passing. On 80960, parameters are passed in g0..g11 */ -- 2.30.2