diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mmix/mmix.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 14fba7c..2905664 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-30 Hans-Peter Nilsson <hp@bitrange.com> + + * config/mmix/mmix.c: Include real.h. + (mmix_constant_address_p): Remove redundant test before switch. + 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index 74c5b72..234d84e 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */ #include "integrate.h" #include "target.h" #include "target-def.h" +#include "real.h" /* First some local helper definitions. */ #define MMIX_FIRST_GLOBAL_REGNUM 32 @@ -1459,9 +1460,6 @@ mmix_constant_address_p (x) /* When using "base addresses", anything constant goes. */ int constant_ok = TARGET_BASE_ADDRESSES != 0; - if (code == LABEL_REF || code == SYMBOL_REF) - return 1; - if (code == CONSTANT_P_RTX || code == HIGH) /* FIXME: Don't know how to dissect these. Avoid them for now. */ return constant_ok; |
