mmix.c: Include real.h.

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

From-SVN: r54042
This commit is contained in:
Hans-Peter Nilsson 2002-05-30 06:48:12 +00:00 committed by Hans-Peter Nilsson
parent dcf7f0ddac
commit cbc39da880
2 changed files with 6 additions and 3 deletions

View 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

View 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;