summaryrefslogtreecommitdiff
path: root/gcc/reload.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 23:37:34 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 23:37:34 +0000
commit7151fd0e46078735d19ba3c266e02bc66e5bcc84 (patch)
treefcbe8c744f966ea82947350fe8a6c968235df084 /gcc/reload.c
parentba08da2c50d6a9089afa00750d0c676c740582a8 (diff)
downloadgcc-7151fd0e46078735d19ba3c266e02bc66e5bcc84.tar.gz
* defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
* recog.c (general_operand, immediate_operand, nonmemory_operand) (asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P. * regclass.c (record_reg_classes): Likewise. * reload.c (find_reloads): Likewise. * reload1.c (reload): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85512 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.c')
-rw-r--r--gcc/reload.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index 4011f0f7a61..09965110204 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -3228,10 +3228,7 @@ find_reloads (rtx insn, int replace, int ind_levels, int live_known,
break;
case 'i':
if (CONSTANT_P (operand)
-#ifdef LEGITIMATE_PIC_OPERAND_P
- && (! flag_pic || LEGITIMATE_PIC_OPERAND_P (operand))
-#endif
- )
+ && (! flag_pic || LEGITIMATE_PIC_OPERAND_P (operand)))
win = 1;
break;
@@ -3266,11 +3263,9 @@ find_reloads (rtx insn, int replace, int ind_levels, int live_known,
&& GET_CODE (operand) != PLUS
/* A SCRATCH is not a valid operand. */
&& GET_CODE (operand) != SCRATCH
-#ifdef LEGITIMATE_PIC_OPERAND_P
&& (! CONSTANT_P (operand)
|| ! flag_pic
|| LEGITIMATE_PIC_OPERAND_P (operand))
-#endif
&& (GENERAL_REGS == ALL_REGS
|| !REG_P (operand)
|| (REGNO (operand) >= FIRST_PSEUDO_REGISTER