diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-02-18 19:39:03 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-02-18 19:39:03 +0000 |
commit | 7f971f18e4285157dbf584cf9330716d3ea0fdfc (patch) | |
tree | 552df56ac69d2714a1f211411ed351a3110a1d4b /gcc/c/c-array-notation.c | |
parent | b0ddb385f0fa0ae6b4b9a360d3dd42060e6b0e63 (diff) | |
download | gcc-7f971f18e4285157dbf584cf9330716d3ea0fdfc.zip gcc-7f971f18e4285157dbf584cf9330716d3ea0fdfc.tar.gz gcc-7f971f18e4285157dbf584cf9330716d3ea0fdfc.tar.bz2 |
codecvt.cc (write_utf16_code_point): Fix code to output surrogate pairs.
* src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
surrogate pairs.
(utf16_in): Pass mode argument to write_utf16_code_point.
(codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
native byte order.
* testsuite/22_locale/codecvt/char16_t.cc: New.
* testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
From-SVN: r220793
Diffstat (limited to 'gcc/c/c-array-notation.c')
0 files changed, 0 insertions, 0 deletions