diff options
author | Graham Stott <grahams@redhat.com> | 2001-08-08 07:49:06 +0000 |
---|---|---|
committer | Graham Stott <grahams@gcc.gnu.org> | 2001-08-08 07:49:06 +0000 |
commit | e5503743149af44c2a3a9ad3883809903b577728 (patch) | |
tree | 23b9e16458989b192018fb2b2532ee80a9bdb6f7 /gcc | |
parent | 5b57e28b23b0edd71631f137918a6c9972714518 (diff) | |
download | gcc-e5503743149af44c2a3a9ad3883809903b577728.zip gcc-e5503743149af44c2a3a9ad3883809903b577728.tar.gz gcc-e5503743149af44c2a3a9ad3883809903b577728.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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; } |