Re: [PATCH] libstdc++: Don't call 4-5 argument to_chars with chars_format{}

2022-12-20 Thread Jonathan Wakely via Gcc-patches
On Tue, 20 Dec 2022 at 08:47, Jakub Jelinek wrote: > > Hi! > > In Fedora build libstdc++.so is built with assertions enabled and > FAIL: 20_util/to_chars/float128_c++23.cc execution test > was failing on all arches. The problem is that it called 5 argument version > of to_chars with chars_format{

[PATCH] libstdc++: Don't call 4-5 argument to_chars with chars_format{}

2022-12-20 Thread Jakub Jelinek via Gcc-patches
Hi! In Fedora build libstdc++.so is built with assertions enabled and FAIL: 20_util/to_chars/float128_c++23.cc execution test was failing on all arches. The problem is that it called 5 argument version of to_chars with chars_format{}, which C++ says is invalid: http://eel.is/c++draft/charconv.to.