diff options
| -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); |
