diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-09-05 16:45:24 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-09-05 16:45:24 +0000 |
commit | 3717da940a1fd923eb39014ca383877a25f8abd9 (patch) | |
tree | 70329ae1dde96296047c6f28b8b0a2e52b164a39 /gcc/real.c | |
parent | df4c36e62da882bddf3969fc1c2daad8e6b13c47 (diff) | |
download | gcc-3717da940a1fd923eb39014ca383877a25f8abd9.zip gcc-3717da940a1fd923eb39014ca383877a25f8abd9.tar.gz gcc-3717da940a1fd923eb39014ca383877a25f8abd9.tar.bz2 |
real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant for...
* real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
not a compile-time constant for the non-IBM case.
* config/arm/arm-protos.h (arm_float_words_big_endian): New
prototype.
* config/arm/arm.c (arm_float_words_big_endian): New function.
(TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__ if TARGET_VFP
and not TARGET_HARD_FLOAT.
(ARM_FLAG_VFP, TARGET_VFP): Define.
(FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
From-SVN: r56854
Diffstat (limited to 'gcc/real.c')
-rw-r--r-- | gcc/real.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -141,10 +141,12 @@ unknown arithmetic type #define VAX_HALFWORD_ORDER 1 #endif #else -#if defined(IBM) && !REAL_WORDS_BIG_ENDIAN +#if defined(IBM) +#if !REAL_WORDS_BIG_ENDIAN #error "Little-endian representations are not supported for IBM." #endif #endif +#endif #if defined(DEC) && !defined (TARGET_G_FLOAT) #define TARGET_G_FLOAT 0 |