diff options
author | Clinton Popetz <cpopetz@cygnus.com> | 2000-07-11 21:30:23 +0000 |
---|---|---|
committer | Clinton Popetz <cpopetz@gcc.gnu.org> | 2000-07-11 17:30:23 -0400 |
commit | 821a8792df6cdc8590520ad0a4aa4a825371f7d6 (patch) | |
tree | 9b77b060ec6689457a14151d8261d08353f68590 | |
parent | 9bb2d43633fca4d2865cb51e4c01b41512ed68c9 (diff) | |
download | gcc-821a8792df6cdc8590520ad0a4aa4a825371f7d6.zip gcc-821a8792df6cdc8590520ad0a4aa4a825371f7d6.tar.gz gcc-821a8792df6cdc8590520ad0a4aa4a825371f7d6.tar.bz2 |
mips.c (simple_memory_operand): Access the INTVAL of the address, not it's containing MEM.
* config/mips/mips.c (simple_memory_operand): Access the
INTVAL of the address, not it's containing MEM.
From-SVN: r34965
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c8f976..506e7bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Jul 11 16:26:17 2000 Clinton Popetz <cpopetz@cygnus.com> + + * config/mips/mips.c (simple_memory_operand): Access the + INTVAL of the address, not it's containing MEM. + 2000-07-11 Bruce Korb <bkorb@gnu.org> * fixinc/fixtests.c(double_slash): obsolete diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index b2d112d..4535b9c 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -729,7 +729,7 @@ simple_memory_operand (op, mode) case CONST_INT: if (TARGET_MIPS16) return 0; - return SMALL_INT (op); + return SMALL_INT (addr); case PLUS: plus0 = XEXP (addr, 0); |