diff options
author | Nick Clifton <nickc@redhat.com> | 2009-10-08 07:01:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2009-10-08 07:01:02 +0000 |
commit | 611b7b5aeef385b464df9d8ed8bfd5aeb5038b28 (patch) | |
tree | 209e1d750841276c7e458759766c3c3277dd4510 | |
parent | 4c93ed23858a4d0ed6a63f9a75fba798b048e8c3 (diff) | |
download | gcc-611b7b5aeef385b464df9d8ed8bfd5aeb5038b28.zip gcc-611b7b5aeef385b464df9d8ed8bfd5aeb5038b28.tar.gz gcc-611b7b5aeef385b464df9d8ed8bfd5aeb5038b28.tar.bz2 |
mn10300.h (CONSTANT_ADDRESS_P): Do not allow CONST_DOUBLEs.
* config/mn10300/mn10300.h (CONSTANT_ADDRESS_P): Do not allow
CONST_DOUBLEs.
From-SVN: r152551
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf79d86..70b2861 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-10-08 Nick Clifton <nickc@redhat.com> + + * config/mn10300/mn10300.h (CONSTANT_ADDRESS_P): Do not allow + CONST_DOUBLEs. + 2009-10-08 Andreas Tobler <a.tobler@schweiz.org> PR bootstrap/37739 diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index d459387..6c0f461 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -620,7 +620,7 @@ struct cum_arg {int nbytes; }; /* 1 if X is an rtx for a constant that is a valid address. */ -#define CONSTANT_ADDRESS_P(X) CONSTANT_P (X) +#define CONSTANT_ADDRESS_P(X) (CONSTANT_P (X) && GET_CODE (X) != CONST_DOUBLE) /* Maximum number of registers that can appear in a valid memory address. */ |