[Bug libstdc++/68737] FAIL: 22_locale/num_put/put/char/14220.cc execution test

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 21 14:25:01 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68737

--- Comment #32 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:c54d4e218f18c66ce1ad9d7e7762357fd7edacb7

commit r8-10367-gc54d4e218f18c66ce1ad9d7e7762357fd7edacb7
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Jan 28 23:58:57 2019 +0000

    PR libstdc++/68737 Do not use vsnprintf on HPUX

    It doesn't conform to the spec, so use vsprintf with a large buffer
    instead.

            PR libstdc++/68737
            * config/locale/generic/c_locale.h (__convert_from_v)
            [_GLIBCXX_USE_C99_STDIO]: Also check
_GLIBCXX_HAVE_BROKEN_VSNPRINTF.
            * config/os/hpux/os_defines.h: Define
_GLIBCXX_HAVE_BROKEN_VSNPRINTF.
            * include/bits/locale_facets.tcc (num_put::_M_insert_float)
            [_GLIBCXX_USE_C99_STDIO]: Also check
_GLIBCXX_HAVE_BROKEN_VSNPRINTF.

    (cherry picked from commit c98f255154798847bdd1fc6ce33266c1a1ddc13a)


More information about the Gcc-bugs mailing list