From: Michael Hayes Date: Fri, 15 Oct 1999 23:29:00 +0000 (+0000) Subject: c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode. X-Git-Tag: prereleases/libstdc++-2.92~10013 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a616dfc0ce5c5a9b92f297a2083a8be18682d21;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54dac4ecf2a0..1783d3bd7597 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 837d03ddf25d..34b57f0638c6 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); }