From 1a616dfc0ce5c5a9b92f297a2083a8be18682d21 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Fri, 15 Oct 1999 23:29:00 +0000 Subject: [PATCH] c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode. * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode. From-SVN: r30026 --- gcc/ChangeLog | 5 +++++ gcc/config/c4x/c4x.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54dac4ecf2a..1783d3bd759 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Oct 16 12:26:30 1999 Michael Hayes + + * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF + memory mode. + Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com) * pa.c (move_operand): Rely on memory_address_p to determine the diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c index 837d03ddf25..34b57f0638c 100644 --- a/gcc/config/c4x/c4x.c +++ b/gcc/config/c4x/c4x.c @@ -3119,7 +3119,7 @@ src_operand (op, mode) && ((GET_CODE (XEXP (op, 0)) == SYMBOL_REF || GET_CODE (XEXP (op, 0)) == LABEL_REF || GET_CODE (XEXP (op, 0)) == CONST))) - return ! TARGET_EXPOSE_LDP; + return ! TARGET_EXPOSE_LDP && GET_MODE (op) == mode; return general_operand (op, mode); } -- 2.30.2