On Sun, May 01, 2022 at 08:09:05PM +0100, Jonathan Wakely via Gcc-patches wrote:
> On Sun, 1 May 2022 at 19:22, Patrick Palka via Libstdc++
> <libstd...@gcc.gnu.org> wrote:
> >
> > The hexfloat parser for binary32/64 added in r12-6645-gcc3bf3404e4b1c
> > overlooked that the exponent part can also begin with an uppercase 'P'.
> >
> > Tested on x86_64-pc-linux-gnu, does this look OK for trunk/11, and possibly 
> > the
> > 12 branch now for 12.1?
> 
> OK for trunk, and as it's a regression since gcc-11 I'd recommend
> release manager approval for 12.1 as well, but it's the RMs call.

Ok for 12.1.

> >         PR libstdc++/105441
> >
> > libstdc++-v3/ChangeLog:
> >
> >         * src/c++17/floating_from_chars.cc (__floating_from_chars_hex):
> >         Also accept 'P' as the start of the exponent.
> >         * testsuite/20_util/from_chars/7.cc: Add corresponding testcase.

        Jakub

Reply via email to