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/reload1.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/reload1.c')
-rw-r--r-- | gcc/reload1.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 1fc55c3..3eb20b0 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -734,16 +734,13 @@ reload (rtx first, int global) { rtx note = find_reg_note (insn, REG_EQUIV, NULL_RTX); if (note -#ifdef LEGITIMATE_PIC_OPERAND_P && (! function_invariant_p (XEXP (note, 0)) || ! flag_pic /* A function invariant is often CONSTANT_P but may include a register. We promise to only pass CONSTANT_P objects to LEGITIMATE_PIC_OPERAND_P. */ || (CONSTANT_P (XEXP (note, 0)) - && LEGITIMATE_PIC_OPERAND_P (XEXP (note, 0)))) -#endif - ) + && LEGITIMATE_PIC_OPERAND_P (XEXP (note, 0))))) { rtx x = XEXP (note, 0); i = REGNO (SET_DEST (set)); |