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
This commit is contained in:
Clinton Popetz 2000-07-11 21:30:23 +00:00 committed by Clinton Popetz
parent 9bb2d43633
commit 821a8792df
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);