]> gcc.gnu.org Git - gcc.git/commit - libstdc++-v3/ChangeLog
libstdc++: std::ctype fixes for recent versions of NetBSD
authorJonathan Wakely <jwakely@redhat.com>
Fri, 10 Jan 2020 16:01:19 +0000 (16:01 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 16 Jan 2020 16:30:12 +0000 (16:30 +0000)
commit98d56ea8900fdcff8f1987cf2bf499a5b7399857
treebf083bc7c32e4a55d3639753e3fb52dd93213caa
parent3ea9140170b8a511822b1a873dea1227093f3ccf
libstdc++: std::ctype fixes for recent versions of NetBSD

This removes support for EOL versions of NetBSD and syncs the
definitions with patches from NetBSD upstream.

The only change here that isn't from upstream is to use _CTYPE_BL for
the isblank class, which is correct but wasn't previously done either in
FSF GCC or the NetBSD packages.

2020-01-16  Kai-Uwe Eckhardt  <kuehro@gmx.de>
    Matthew Bauer  <mjbauer95@gmail.com>
    Jonathan Wakely  <jwakely@redhat.com>

PR bootstrap/64271 (partial)
* config/os/bsd/netbsd/ctype_base.h (ctype_base::mask): Change type
to unsigned short.
(ctype_base::alpha, ctype_base::digit, ctype_base::xdigit)
(ctype_base::print, ctype_base::graph, ctype_base::alnum): Sync
definitions with NetBSD upstream.
(ctype_base::blank): Use _CTYPE_BL.
* config/os/bsd/netbsd/ctype_configure_char.cc (_C_ctype_): Remove
Declaration.
(ctype<char>::classic_table): Use _C_ctype_tab_ instead of _C_ctype_.
(ctype<char>::do_toupper, ctype<char>::do_tolower): Cast char
parameters to unsigned char.
* config/os/bsd/netbsd/ctype_inline.h (ctype<char>::is): Likewise.
libstdc++-v3/ChangeLog
libstdc++-v3/config/os/bsd/netbsd/ctype_base.h
libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc
libstdc++-v3/config/os/bsd/netbsd/ctype_inline.h
This page took 0.0616 seconds and 5 git commands to generate.