aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-01-10 16:01:19 +0000
committerJonathan Wakely <jwakely@redhat.com>2020-01-16 16:30:12 +0000
commit98d56ea8900fdcff8f1987cf2bf499a5b7399857 (patch)
treebf083bc7c32e4a55d3639753e3fb52dd93213caa /gcc/c/c-parser.c
parent3ea9140170b8a511822b1a873dea1227093f3ccf (diff)
downloadgcc-98d56ea8900fdcff8f1987cf2bf499a5b7399857.zip
gcc-98d56ea8900fdcff8f1987cf2bf499a5b7399857.tar.gz
gcc-98d56ea8900fdcff8f1987cf2bf499a5b7399857.tar.bz2
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.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions