OSDN Git Service

* explow.c (memory_address): Use CONSTANT_ADDRESS_P instead of
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 1993 18:58:20 +0000 (18:58 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 1993 18:58:20 +0000 (18:58 +0000)
LEGITIMATE_CONSTANT_P.
(break_out_memrefs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3540 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/explow.c

index d2519c6..2cc6461 100644 (file)
@@ -267,7 +267,7 @@ break_out_memory_refs (x)
      register rtx x;
 {
   if (GET_CODE (x) == MEM
-      || (CONSTANT_P (x) && LEGITIMATE_CONSTANT_P (x)
+      || (CONSTANT_P (x) && CONSTANT_ADDRESS_P (x)
          && GET_MODE (x) != VOIDmode))
     {
       register rtx temp = force_reg (GET_MODE (x), x);
@@ -333,7 +333,7 @@ memory_address (mode, x)
 
   /* By passing constant addresses thru registers
      we get a chance to cse them.  */
-  if (! cse_not_expected && CONSTANT_P (x) && LEGITIMATE_CONSTANT_P (x))
+  if (! cse_not_expected && CONSTANT_P (x) && CONSTANT_ADDRESS_P (x))
     return force_reg (Pmode, x);
 
   /* Accept a QUEUED that refers to a REG