public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6873] Fortran: fix bootstrap on SPARC/Solaris
@ 2022-01-26  9:21 Franथईois-Xavier Coudert
  0 siblings, 0 replies; only message in thread
From: Franथईois-Xavier Coudert @ 2022-01-26  9:21 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8769f32b645eb08b9f07ec3171cc21c3420f8616

commit r12-6873-g8769f32b645eb08b9f07ec3171cc21c3420f8616
Author: Francois-Xavier Coudert <fxcoudert@gmail.com>
Date:   Wed Jan 26 10:20:21 2022 +0100

    Fortran: fix bootstrap on SPARC/Solaris
    
    libgfortran/ChangeLog:
    
            PR libfortran/104233
            * ieee/issignaling_fallback.h: Check GFC_REAL_16_IS_FLOAT128
            instead of __FLT128_IS_IEC_60559__.

Diff:
---
 libgfortran/ieee/issignaling_fallback.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libgfortran/ieee/issignaling_fallback.h b/libgfortran/ieee/issignaling_fallback.h
index 440a3f6c9a5..98b0b2819ac 100644
--- a/libgfortran/ieee/issignaling_fallback.h
+++ b/libgfortran/ieee/issignaling_fallback.h
@@ -195,9 +195,9 @@ __issignalingl (long double x)
 #endif
 
 
-#if __FLT128_IS_IEC_60559__
+#if defined(GFC_REAL_16_IS_FLOAT128)
 
-/* We have a _Float128 type.  */
+/* We have a __float128 type.  */
 
 typedef union
 {
@@ -234,7 +234,7 @@ __issignalingf128 (__float128 x)
 
 /* Define the type-generic macro based on the functions above.  */
 
-#if __FLT128_IS_IEC_60559__
+#if defined(GFC_REAL_16_IS_FLOAT128)
 # define issignaling(X) \
   _Generic ((X), \
 	    __float128: __issignalingf128, \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-26  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26  9:21 [gcc r12-6873] Fortran: fix bootstrap on SPARC/Solaris 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).