]> gcc.gnu.org Git - gcc.git/commitdiff
(EXTRA_CONSTRAINT): Correctly check for SYMBOL_REF referring to the
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 2 Dec 1994 23:08:09 +0000 (18:08 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 2 Dec 1994 23:08:09 +0000 (18:08 -0500)
TOC.

From-SVN: r8599

gcc/config/rs6000/rs6000.h

index e2858f684e4247b98868ac50c3021a6b425b324d..59fbca6f388d75f34b192ae460d0e4929f64b45e 100644 (file)
@@ -685,7 +685,8 @@ enum reg_class { NO_REGS, BASE_REGS, GENERAL_REGS, FLOAT_REGS,
 
 #define EXTRA_CONSTRAINT(OP, C)                                                \
   ((C) == 'Q' ? GET_CODE (OP) == MEM && GET_CODE (XEXP (OP, 0)) == REG \
-   : (C) == 'R' ? GET_CODE (OP) == SYMBOL_REF && CONSTANT_POOL_ADDRESS_P (OP)\
+   : (C) == 'R' ? (GET_CODE (OP) == SYMBOL_REF                         \
+                  && LEGITIMATE_CONSTANT_POOL_ADDRESS_P (OP))          \
    : 0)
 
 /* Given an rtx X being reloaded into a reg required to be
This page took 0.061152 seconds and 5 git commands to generate.