From 821a8792df6cdc8590520ad0a4aa4a825371f7d6 Mon Sep 17 00:00:00 2001 From: Clinton Popetz Date: Tue, 11 Jul 2000 21:30:23 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * 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 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); -- 2.7.4