This patch updates std::basic_format_arg::_S_to_arg_type in <format> on the gcc-14 branch to avoid a bfloat16 literal-based type check.
It replaces decltype(0.0bf16) with __gnu_cxx::__bfloat16_t while preserving existing behavior by keeping normalization to float. Tested on x86_64-linux-gnu. Jakit Liang (1): libstdc++: avoid bf16 literal in format arg normalization libstdc++-v3/include/std/format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.47.3
