Commit cbc39da8 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

mmix.c: Include real.h.

	* config/mmix/mmix.c: Include real.h.
	(mmix_constant_address_p): Remove redundant test before switch.

From-SVN: r54042
parent dcf7f0dd
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> 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
......
...@@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */
#include "integrate.h" #include "integrate.h"
#include "target.h" #include "target.h"
#include "target-def.h" #include "target-def.h"
#include "real.h"
/* First some local helper definitions. */ /* First some local helper definitions. */
#define MMIX_FIRST_GLOBAL_REGNUM 32 #define MMIX_FIRST_GLOBAL_REGNUM 32
...@@ -1459,9 +1460,6 @@ mmix_constant_address_p (x) ...@@ -1459,9 +1460,6 @@ mmix_constant_address_p (x)
/* When using "base addresses", anything constant goes. */ /* When using "base addresses", anything constant goes. */
int constant_ok = TARGET_BASE_ADDRESSES != 0; int constant_ok = TARGET_BASE_ADDRESSES != 0;
if (code == LABEL_REF || code == SYMBOL_REF)
return 1;
if (code == CONSTANT_P_RTX || code == HIGH) if (code == CONSTANT_P_RTX || code == HIGH)
/* FIXME: Don't know how to dissect these. Avoid them for now. */ /* FIXME: Don't know how to dissect these. Avoid them for now. */
return constant_ok; return constant_ok;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment