mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 16:25:06 +08:00
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:
parent
86557ec241
commit
77416b3d7e
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user