[gcc(refs/users/meissner/heads/work168-bugs)] Little endian PowerPC without VSX cannot support IEEE 128-bit.
Michael Meissner
meissner@gcc.gnu.org
Fri Jun 14 18:50:36 GMT 2024
https://gcc.gnu.org/g:9148b4679335390ce0d675482f6855328708bea6
commit 9148b4679335390ce0d675482f6855328708bea6
Author: Michael Meissner <meissner@linux.ibm.com>
Date: Fri Jun 14 14:50:13 2024 -0400
Little endian PowerPC without VSX cannot support IEEE 128-bit.
2024-06-14 Michael Meissner <meissner@linux.ibm.com>
libgfortran/
* kinds-override.h: Do not enable IEEE 128-bit floating point support on
little endian PowerPC that does not have VSX support.
Diff:
---
libgfortran/kinds-override.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgfortran/kinds-override.h b/libgfortran/kinds-override.h
index f6b4956c5caa..51f440e53232 100644
--- a/libgfortran/kinds-override.h
+++ b/libgfortran/kinds-override.h
@@ -30,7 +30,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#endif
/* Keep these conditions on one line so grep can filter it out. */
-#if defined(__powerpc64__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ && __SIZEOF_LONG_DOUBLE__ == 16
+#if defined(__powerpc64__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ && __SIZEOF_LONG_DOUBLE__ == 16 && defined(__VSX__)
typedef _Float128 GFC_REAL_17;
typedef _Complex _Float128 GFC_COMPLEX_17;
#define HAVE_GFC_REAL_17
More information about the Gcc-cvs
mailing list