* pa.c (call_operand_address): Do not accept registers anymore.
authorJeff Law <law@gcc.gnu.org>
Sat, 3 Jul 1993 22:55:17 +0000 (16:55 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 3 Jul 1993 22:55:17 +0000 (16:55 -0600)
From-SVN: r4836

gcc/config/pa/pa.c

index 40840eff625becadb511a66b2a43bfc45a97e98e..b07e87bc3f96e8b2d1eb0ae8e31279801709b388 100644 (file)
@@ -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