* config/mips/mips.c (mips_legitimate_address_p): Check for
CONST_INT in last patch.
From-SVN: r44736
+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
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;
}