r236734 - in /branches/gcc-5-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed May 25 16:41:00 GMT 2016


Author: redi
Date: Wed May 25 16:41:42 2016
New Revision: 236734

URL: https://gcc.gnu.org/viewcvs?rev=236734&root=gcc&view=rev
Log:
libstdc++/69703 ignore endianness in codecvt_utf8

Backport from mainline
2016-04-20  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/69703
	* src/c++11/codecvt.cc (__codecvt_utf8_base<char16_t>::do_in,
	__codecvt_utf8_utf16_base<char16_t>::do_in): Fix mask operations.

Backport from mainline
2016-04-19  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/69703
	* src/c++11/codecvt.cc (__codecvt_utf8_base<char16_t>::do_in)):
	Override endianness bit in mode.
	* testsuite/22_locale/codecvt/codecvt_utf8/69703.cc: New test.
	* testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc: Test
	that little_endian mode is ignored.
	* testsuite/experimental/filesystem/path/native/string.cc: New test.

Added:
    branches/gcc-5-branch/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/69703.cc
    branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/native/
    branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/src/c++11/codecvt.cc
    branches/gcc-5-branch/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc



More information about the Gcc-cvs mailing list