From: Tom Wood Date: Fri, 26 Mar 1993 11:26:53 +0000 (+0000) Subject: (FUNCTION_VALUE_REGNO_P): Change to agree with X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc5ae869302448c8d22d706b4f1d938e79396b70;p=gcc.git (FUNCTION_VALUE_REGNO_P): Change to agree with FUNCTION_VALUE. From-SVN: r3884 --- 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 */