From: Clinton Popetz Date: Tue, 11 Jul 2000 21:30:23 +0000 (+0000) Subject: mips.c (simple_memory_operand): Access the INTVAL of the address, not it's containing... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=821a8792df6cdc8590520ad0a4aa4a825371f7d6;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c8f97696e4..506e7bb5338 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Jul 11 16:26:17 2000 Clinton Popetz + + * config/mips/mips.c (simple_memory_operand): Access the + INTVAL of the address, not it's containing MEM. + 2000-07-11 Bruce Korb * fixinc/fixtests.c(double_slash): obsolete diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index b2d112d43fd..4535b9cefc4 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);