mips.c (mips_legitimate_address_p): Check for CONST_INT in last patch.

* config/mips/mips.c	(mips_legitimate_address_p): Check for
        CONST_INT in last patch.

From-SVN: r44736
This commit is contained in:
Aldy Hernandez 2001-08-09 11:31:23 +00:00 committed by Aldy Hernandez
parent 86557ec241
commit 77416b3d7e
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-08-09 Aldy Hernandez <aldyh@redhat.com>
* config/mips/mips.c (mips_legitimate_address_p): Check for
CONST_INT in last patch.
2001-08-08 Anthony Green <green@redhat.com>
* java/class.c (emit_register_classes): Use assemble_jcr if

View File

@ -1368,8 +1368,9 @@ mips_legitimate_address_p (mode, xinsn, strict)
in "la x, foo(x)" yielding the wrong result for:
(set (blah:DI) (plus x y)). */
&& (!TARGET_64BIT
|| trunc_int_for_mode (INTVAL (xplus1),
SImode) == INTVAL (xplus1))
|| (code1 == CONST_INT
&& trunc_int_for_mode (INTVAL (xplus1),
SImode) == INTVAL (xplus1)))
&& !TARGET_MIPS16)
return 1;
}