[Bug c++/105324] std::from_chars() assertion at floating_from_chars.cc:78 when parsing 1.11111111....
aoliva at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 2 21:43:55 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105324
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |aoliva at gcc dot gnu.org
Resolution|FIXED |---
--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
The from_chars overloads for floating-point types are guarded by #if
_GLIBCXX_HAVE_USELOCALE
The test fails with ugly overload resolution and template substitution messages
over the template from_chars for integral types when the macro is not defined
to nonzero.
Should the test use a similar conditional? (I'll be happy to submit a patch)
More information about the Gcc-bugs
mailing list