From: Jeff Law Date: Sat, 3 Jul 1993 22:55:17 +0000 (-0600) Subject: * pa.c (call_operand_address): Do not accept registers anymore. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c9a6f426c6c2293514d1feeaa611ca97311d7e1;p=gcc.git * pa.c (call_operand_address): Do not accept registers anymore. From-SVN: r4836 --- diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 40840eff625..b07e87bc3f9 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