]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fortran: fix bootstrap on SPARC/Solaris
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>
Wed, 26 Jan 2022 09:20:21 +0000 (10:20 +0100)
committerFrancois-Xavier Coudert <fxcoudert@gmail.com>
Wed, 26 Jan 2022 09:21:23 +0000 (10:21 +0100)
libgfortran/ChangeLog:

PR libfortran/104233
* ieee/issignaling_fallback.h: Check GFC_REAL_16_IS_FLOAT128
instead of __FLT128_IS_IEC_60559__.

libgfortran/ieee/issignaling_fallback.h

index 440a3f6c9a5accd7417a0511c09f5efeea51a0bd..98b0b2819acf0db3d29301ef36a1a7a7803b6e4d 100644 (file)
@@ -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, \