* config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
failure check for CONST_INT
From-SVN: r44708
2001-08-08 Graham Stott <grahams@redhat.com>
+ * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
+ failure check for CONST_INT
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
* flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
(libcall_dead_p): Likewise.
/* When assembling for machines with 64 bit registers,
the assembler will not sign-extend the constant "foo"
in "la x, foo(x)" */
- && (!TARGET_64BIT || (INTVAL (xplus1) > 0))
+ && (!TARGET_64BIT || (code1 == CONST_INT && INTVAL (xplus1) > 0))
&& !TARGET_MIPS16)
return 1;
}