From: Hans-Peter Nilsson Date: Thu, 30 May 2002 06:48:12 +0000 (+0000) Subject: mmix.c: Include real.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbc39da880491aad73a871bc8d8a91d1d8133f5f;p=gcc.git mmix.c: Include real.h. * config/mmix/mmix.c: Include real.h. (mmix_constant_address_p): Remove redundant test before switch. From-SVN: r54042 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 14fba7c3163..290566436af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-30 Hans-Peter Nilsson + + * config/mmix/mmix.c: Include real.h. + (mmix_constant_address_p): Remove redundant test before switch. + 2002-05-29 Jason Thorpe * 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 74c5b729030..234d84e0d05 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;