diff options
| author | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-15 23:29:00 +0000 |
|---|---|---|
| committer | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-15 23:29:00 +0000 |
| commit | e5dcab87d2e9846def35c3577acea8cda5e4dfe6 (patch) | |
| tree | c596d39d66a10b4622526a28743d8130047474fd | |
| parent | f2f271426f622e68bd7ca96293d634d0daf49914 (diff) | |
| download | ppe42-gcc-e5dcab87d2e9846def35c3577acea8cda5e4dfe6.tar.gz ppe42-gcc-e5dcab87d2e9846def35c3577acea8cda5e4dfe6.zip | |
* config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
memory mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30026 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/c4x/c4x.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <m.hayes@elec.canterbury.ac.nz> + + * 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); } |

