diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mips/mips.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 338b704..df59d73 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index be0033a..9614c95 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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; } |
