https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114118

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The reason was mainly that without -std=c++23, most of the library support just
isn't there.  The f16/f32/f64/f128 etc. literal suffixes will result in
pedwarns,
__STDCPP_FLOAT*_T__ isn't defined, <stdfloat> is a C++23 header, etc.
Most of the library changes were guarded with __STDCPP_FLOAT*_T__ macros.
If you think it is worth it enabling it for C++20 or older as well and such
changes
wouldn't cause problems for valid C++20 or 17 etc. code not using the types,
then
all that (perhaps except for bfloat16_t stuff?) would need to start using
__FLT*_MANT_DIG__ and similar macros instead.  But then we also run into a
problem that I think clang++ predefines those even when it doesn't implement
the C++23 paper.

Reply via email to