diff options
author | Zack Weinberg <zack@codesourcery.com> | 2004-08-03 23:37:34 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-08-03 23:37:34 +0000 |
commit | 2e4e72b1c01b0e4a9802e480fa241526bf4e47aa (patch) | |
tree | fcbe8c744f966ea82947350fe8a6c968235df084 /gcc/reload.c | |
parent | f9942f4e14ff2f47c29638078db93c0ba8e7b54e (diff) | |
download | gcc-2e4e72b1c01b0e4a9802e480fa241526bf4e47aa.zip gcc-2e4e72b1c01b0e4a9802e480fa241526bf4e47aa.tar.gz gcc-2e4e72b1c01b0e4a9802e480fa241526bf4e47aa.tar.bz2 |
defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
* 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.
From-SVN: r85512
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 4011f0f..0996511 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 |