From 33d0ed8673f646ebfafcc67658c49495afb56d12 Mon Sep 17 00:00:00 2001 From: tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu, 30 Mar 2000 19:10:17 +0000 Subject: [PATCH] * gjavah.c (D_NAN_MASK): Only define as word-reversed when HOST_FLOAT_WORDS_BIG_ENDIAN and HOST_WORDS_BIG_ENDIAN disagree. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32832 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/ChangeLog | 5 +++++ gcc/java/gjavah.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 0ab7edbc26e0..f46411a3caac 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2000-03-30 Tom Tromey <tromey@cygnus.com> + + * gjavah.c (D_NAN_MASK): Only define as word-reversed when + HOST_FLOAT_WORDS_BIG_ENDIAN and HOST_WORDS_BIG_ENDIAN disagree. + 2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (pop_class_context): Reset `inner_qualifier_length' diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index 769eb77b3f2d..41caf5c1a6d0 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -203,7 +203,7 @@ static int decompiled = 0; /* Some useful constants. */ #define F_NAN_MASK 0x7f800000 -#if (1 == HOST_FLOAT_WORDS_BIG_ENDIAN) +#if (1 == HOST_FLOAT_WORDS_BIG_ENDIAN) && ! defined (HOST_WORDS_BIG_ENDIAN) #define D_NAN_MASK 0x000000007ff00000LL #else #define D_NAN_MASK 0x7ff0000000000000LL -- GitLab