diff options
Diffstat (limited to 'gcc/java/javaop.h')
-rw-r--r-- | gcc/java/javaop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/javaop.h b/gcc/java/javaop.h index cce0a61..c603be1 100644 --- a/gcc/java/javaop.h +++ b/gcc/java/javaop.h @@ -124,7 +124,11 @@ union DWord { 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; } |