public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6870] Fortran: fix issignaling() implementation
@ 2022-01-25 23:10 Franथईois-Xavier Coudert
0 siblings, 0 replies; only message in thread
From: Franथईois-Xavier Coudert @ 2022-01-25 23:10 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:fa262add75ab6631bf22b7e2884437ba9c62ed2a
commit r12-6870-gfa262add75ab6631bf22b7e2884437ba9c62ed2a
Author: Francois-Xavier Coudert <fxcoudert@gmail.com>
Date: Tue Jan 25 21:54:03 2022 +0100
Fortran: fix issignaling() implementation
libgfortran/ChangeLog:
* ieee/issignaling_fallback.h: Fix GCC-specific preprocessor
macros.
Diff:
---
libgfortran/ieee/issignaling_fallback.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libgfortran/ieee/issignaling_fallback.h b/libgfortran/ieee/issignaling_fallback.h
index 5b9e1c88d6f..440a3f6c9a5 100644
--- a/libgfortran/ieee/issignaling_fallback.h
+++ b/libgfortran/ieee/issignaling_fallback.h
@@ -103,12 +103,12 @@ typedef union
long double value;
struct
{
-#if __FLOAT_WORD_ORDER == __BIG_ENDIAN
+#if __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__
int sign_exponent:16;
unsigned int empty:16;
uint32_t msw;
uint32_t lsw;
-#elif __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
+#elif __FLOAT_WORD_ORDER__ == __ORDER_LITTLE_ENDIAN__
uint32_t lsw;
uint32_t msw;
int sign_exponent:16;
@@ -159,10 +159,10 @@ typedef union
long double value;
struct
{
-#if __FLOAT_WORD_ORDER == __BIG_ENDIAN
+#if __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__
uint64_t msw;
uint64_t lsw;
-#elif __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
+#elif __FLOAT_WORD_ORDER__ == __ORDER_LITTLE_ENDIAN__
uint64_t lsw;
uint64_t msw;
#endif
@@ -204,10 +204,10 @@ typedef union
__float128 value;
struct
{
-#if __FLOAT_WORD_ORDER == __BIG_ENDIAN
+#if __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__
uint64_t msw;
uint64_t lsw;
-#elif __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
+#elif __FLOAT_WORD_ORDER__ == __ORDER_LITTLE_ENDIAN__
uint64_t lsw;
uint64_t msw;
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-25 23:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25 23:10 [gcc r12-6870] Fortran: fix issignaling() implementation Franथईois-Xavier Coudert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).