(call_operand): Use symbolic_operand not CONSTANT_P.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 19 Jul 1994 02:17:24 +0000 (19:17 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 19 Jul 1994 02:17:24 +0000 (19:17 -0700)
(call_operand_address): Likewise.

From-SVN: r7782

gcc/config/sparc/sparc.c

index 33cfdb92ab5aa58d8db43756c558dd61812f73f4..2053840e3bd8a65cafb1fa1e0e155e8ec39a170d 100644 (file)
@@ -294,7 +294,7 @@ call_operand (op, mode)
   if (GET_CODE (op) != MEM)
     abort ();
   op = XEXP (op, 0);
-  return (CONSTANT_P (op) || memory_address_p (Pmode, op));
+  return (symbolic_operand (op, mode) || memory_address_p (Pmode, op));
 }
 
 int
@@ -302,7 +302,7 @@ call_operand_address (op, mode)
      rtx op;
      enum machine_mode mode;
 {
-  return (CONSTANT_P (op) || memory_address_p (Pmode, op));
+  return (symbolic_operand (op, mode) || memory_address_p (Pmode, op));
 }
 
 /* Returns 1 if OP is either a symbol reference or a sum of a symbol