File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -665,8 +665,6 @@ check-symbols: startup_files libc
665
665
@# its builtin include path first, which produces compiler-specific
666
666
@# output.
667
667
@#
668
- @# TODO: Undefine __FLOAT128__ for now since it's not in clang 8.0.
669
- @# TODO: Filter out __FLT16_* for now, as not all versions of clang have these.
670
668
@# TODO: Filter out __NO_MATH_ERRNO_ and a few __*WIDTH__ that are new to clang 14.
671
669
@# TODO: Filter out __GCC_HAVE_SYNC_COMPARE_AND_SWAP_* that are new to clang 16.
672
670
@# TODO: clang defined __FLT_EVAL_METHOD__ until clang 15, so we force-undefine it
@@ -693,13 +691,11 @@ check-symbols: startup_files libc
693
691
-U__GNUC_MINOR__ \
694
692
-U__GNUC_PATCHLEVEL__ \
695
693
-U__VERSION__ \
696
- -U__FLOAT128__ \
697
694
-U__NO_MATH_ERRNO__ \
698
695
-U__BITINT_MAXWIDTH__ \
699
696
-U__FLT_EVAL_METHOD__ -Wno-builtin-macro-redefined \
700
697
| sed -e 's/__[[:upper:][:digit:]]*_ATOMIC_\([[:upper:][:digit:]_]*\)_LOCK_FREE/__compiler_ATOMIC_\1_LOCK_FREE/' \
701
698
| sed -e 's/__GNUC_VA_LIST $$/__GNUC_VA_LIST 1/' \
702
- | grep -v '^#define __FLT16_' \
703
699
| grep -v '^#define __\(BOOL\|INT_\(LEAST\|FAST\)\(8\|16\|32\|64\)\|INT\|LONG\|LLONG\|SHRT\)_WIDTH__' \
704
700
| grep -v '^#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_\(1\|2\|4\|8\)' \
705
701
> "$(SYSROOT_SHARE)/predefined-macros.txt"
Original file line number Diff line number Diff line change 2489
2489
#define __DEFINED_wctype_t
2490
2490
#define __DEFINED_wint_t
2491
2491
#define __FINITE_MATH_ONLY__ 0
2492
+ #define __FLOAT128__ 1
2492
2493
#define __FLT(x) (__IS_REAL(x) && sizeof(x) == sizeof(float))
2493
2494
#define __FLTCX(x) (__IS_CX(x) && sizeof(x) == sizeof(float complex))
2494
2495
#define __FLT_DECIMAL_DIG__ 9
Original file line number Diff line number Diff line change 2452
2452
#define __DEFINED_wctype_t
2453
2453
#define __DEFINED_wint_t
2454
2454
#define __FINITE_MATH_ONLY__ 0
2455
+ #define __FLOAT128__ 1
2455
2456
#define __FLT(x) (__IS_REAL(x) && sizeof(x) == sizeof(float))
2456
2457
#define __FLTCX(x) (__IS_CX(x) && sizeof(x) == sizeof(float complex))
2457
2458
#define __FLT_DECIMAL_DIG__ 9
You can’t perform that action at this time.
0 commit comments