r263373 - in /branches/gcc-7-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Aug 7 22:50:00 GMT 2018


Author: redi
Date: Tue Aug  7 22:50:06 2018
New Revision: 263373

URL: https://gcc.gnu.org/viewcvs?rev=263373&root=gcc&view=rev
Log:
Fix std::codecvt_utf8<wchar_t> for Mingw

Backport from mainline
2018-05-19  Jonathan Wakely  <jwakely@redhat.com>

	* src/c++11/codecvt.cc (__codecvt_utf8_base<wchar_t>::do_in)
	[__SIZEOF_WCHAR_T__==2 && __BYTE_ORDER__!=__ORDER_BIG_ENDIAN__]: Set
	little_endian element in bitmask.
	* testsuite/22_locale/codecvt/codecvt_utf8/69703.cc: Run all tests.
	* testsuite/22_locale/codecvt/codecvt_utf8/wchar_t/1.cc: New.

Added:
    branches/gcc-7-branch/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/wchar_t/
    branches/gcc-7-branch/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/wchar_t/1.cc
Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/src/c++11/codecvt.cc
    branches/gcc-7-branch/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/69703.cc



More information about the Libstdc++-cvs mailing list