Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/ginclude clang does not support _...



details:   https://anonhg.NetBSD.org/src/rev/4d9c17c4244a
branches:  trunk
changeset: 1022365:4d9c17c4244a
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jul 14 13:24:58 2021 +0000

description:
clang does not support __float128 in our configuration and i386

diffstat:

 external/gpl3/gcc/dist/gcc/ginclude/stddef.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a0f49552082b -r 4d9c17c4244a external/gpl3/gcc/dist/gcc/ginclude/stddef.h
--- a/external/gpl3/gcc/dist/gcc/ginclude/stddef.h      Wed Jul 14 09:15:01 2021 +0000
+++ b/external/gpl3/gcc/dist/gcc/ginclude/stddef.h      Wed Jul 14 13:24:58 2021 +0000
@@ -420,7 +420,7 @@
      use __float128 here; that is only available on some
      architectures, but only on i386 is extra alignment needed for
      __float128.  */
-#ifdef __i386__
+#if defined(__i386__) && !defined(__clang__)
   __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));
 #endif
 } max_align_t;



Home | Main Index | Thread Index | Old Index