gcc/libstdc++-v3/include
Jonathan Wakely 27d0cfcb2b libstdc++: Revert pre-C++23 support for 16-bit float types [PR111060]
In r14-3304-g1a566fddea212a and r14-3305-g6cf214b4fc97f5 I tried to
enable std::format for 16-bit float types before C++23. This causes
errors for targets where the types are defined but can't actually be
used, e.g. i686 without sse2.

Make the std::numeric_limits and std::formatter specializations for
_Float16 and __bfloat16_t depend on the __STDCPP_FLOAT16_T__ and
__STDCPP_BFLOAT16_T__ macros again, so they're only defined for C++23
when the type is fully supported. This is OK because the main point of
my earlier commits was to add better support for _Float32 and _Float64.
It seems fine for the new 16-bit types to only be supported for C++23,
as they were never present before GCC 13 anyway.

libstdc++-v3/ChangeLog:

	PR target/111060
	* include/std/format (formatter): Only define specializations
	for 16-bit floating-point types for C++23.
	* include/std/limits (numeric_limits): Likewise.
2023-08-18 22:50:48 +01:00
..
backward Update copyright years. 2023-01-16 11:52:17 +01:00
bits libstdc++: Replace non-type-dependent uses of wchar_t in <format> and <chrono> 2023-08-18 11:56:57 +01:00
c Update copyright years. 2023-01-16 11:52:17 +01:00
c_compatibility libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
c_global libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
c_std Update copyright years. 2023-01-16 11:52:17 +01:00
debug libstdc++: Qualify calls to debug mode helpers 2023-06-26 17:43:22 +01:00
decimal Update copyright years. 2023-01-16 11:52:17 +01:00
experimental libstdc++: Fix -Wunused-parameter in <experimental/internet> 2023-08-17 20:24:18 +01:00
ext libstdc++: Stop using _GLIBCXX_USE_C99_MATH_TR1 in <cmath> 2023-05-31 21:01:16 +01:00
parallel libstdc++: Fix broken _GLIBCXX_PARALLEL mode 2023-06-02 11:44:14 +02:00
precompiled libstdc++: Fix some freestanding test failures 2023-04-05 18:45:15 +02:00
pstl libstdc++: Enable OpenMP 5.0 pragmas in PSTL headers 2023-07-04 00:05:53 +01:00
std libstdc++: Revert pre-C++23 support for 16-bit float types [PR111060] 2023-08-18 22:50:48 +01:00
tr1 Update copyright years. 2023-01-16 11:52:17 +01:00
tr2 Update copyright years. 2023-01-16 11:52:17 +01:00
Makefile.am libstdc++: Implement more maintainable <version> header 2023-08-16 15:16:25 +02:00
Makefile.in libstdc++: Regenerate Makefile.in 2023-08-17 13:12:39 +01:00