https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111883
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Why doesn't it fail with -std=c++23 though? Was there some C++26 change I'm not aware of? In the to_chars cases, we already use float(__value) casts in the _Float16/__bfloat16_t cases (but others too), so I think we just want to add explicit casts also to all the from_chars __value = __val; lines (or at least the _Float16/__bfloat16_t cases).