mips.c (mips_legitimate_address_p): Fix enable checking failure check for CONST_INT

* config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
        failure check for CONST_INT

From-SVN: r44708
This commit is contained in:
Graham Stott 2001-08-08 07:49:06 +00:00 committed by Graham Stott
parent 5b57e28b23
commit e550374314
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -1366,7 +1366,7 @@ mips_legitimate_address_p (mode, xinsn, strict)
/* 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;
}