summaryrefslogtreecommitdiff
path: root/gcc/reload1.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/reload1.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/reload1.c')
-rw-r--r--gcc/reload1.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 1fc55c33cfd..3eb20b02ff8 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));