mmix.c: Include real.h.
authorHans-Peter Nilsson <hp@bitrange.com>
Thu, 30 May 2002 06:48:12 +0000 (06:48 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 30 May 2002 06:48:12 +0000 (06:48 +0000)
* config/mmix/mmix.c: Include real.h.
(mmix_constant_address_p): Remove redundant test before switch.

From-SVN: r54042

gcc/ChangeLog
gcc/config/mmix/mmix.c

index 14fba7c3163180d1f0b91e1f7e1531ea133719c2..290566436af77bfa79e2abb9b41643382e9bde96 100644 (file)
@@ -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
index 74c5b72903043a32c5256488b9d082f7eb45e8db..234d84e0d0572cd7581cd4d680ef7865cf2ce688 100644 (file)
@@ -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;