https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69703
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> --- 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 <jwak...@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 <jwak...@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