* gcc/java/javaop.h (WORDS_TO_DOUBLE): Allow WORDS_TO_DOUBLE to
assemble doubles correctly when HOST_FLOAT_WORDS_BIG_ENDIAN is
defined to be 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31777
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-01-31 Scott Bambrough <scottb@netwinder.org>
+
+ * gcc/java/javaop.h (WORDS_TO_DOUBLE): Allow WORDS_TO_DOUBLE to
+ assemble doubles correctly when HOST_FLOAT_WORDS_BIG_ENDIAN is
+ defined to be 1.
+
2000-02-03 Tom Tromey <tromey@cygnus.com>
* Make-lang.in (java.mostlyclean): Remove executables in
static inline jdouble
WORDS_TO_DOUBLE(jword hi, jword lo)
{ union DWord wu;
+#if (1 == HOST_FLOAT_WORDS_BIG_ENDIAN)
+ wu.l = WORDS_TO_LONG(lo, hi);
+#else
wu.l = WORDS_TO_LONG(hi, lo);
+#endif
return wu.d;
}