From 9c9a6f426c6c2293514d1feeaa611ca97311d7e1 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 3 Jul 1993 16:55:17 -0600 Subject: [PATCH] * pa.c (call_operand_address): Do not accept registers anymore. From-SVN: r4836 --- gcc/config/pa/pa.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 40840ef..b07e87b 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -58,13 +58,17 @@ reg_or_0_operand (op, mode) return (op == CONST0_RTX (mode) || register_operand (op, mode)); } +/* Return non-zero if OP is suitable for use in a call to a named + function. + + (???) For 2.5 try to eliminate either call_operand_address or + function_label_operand, they perform very similar functions. */ int call_operand_address (op, mode) rtx op; enum machine_mode mode; { - return (REG_P (op) - || (CONSTANT_P (op) && ! TARGET_LONG_CALLS)); + return (CONSTANT_P (op) && ! TARGET_LONG_CALLS); } /* Return 1 if X contains a symbolic expression. We know these -- 2.7.4