re PR libstdc++/66855 (codecvt wrong endianness in UTF-16 conversions)
authorJonathan Wakely <jwakely@redhat.com>
Mon, 13 Jul 2015 20:07:48 +0000 (21:07 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 13 Jul 2015 20:07:48 +0000 (21:07 +0100)
commit795038b72255040a9e62cc5da08bd6a6b5d11286
treec0fd48362deea33caf921165f8264f977f200c89
parentc05fbb626f931365ee06f63ea99af53cfea99fe1
re PR libstdc++/66855 (codecvt wrong endianness in UTF-16 conversions)

PR libstdc++/66855
* src/c++11/codecvt.cc (__codecvt_utf8_utf16_base::do_in): Override
endianness bit in mode.
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc: New.

From-SVN: r225748
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/codecvt.cc
libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc [new file with mode: 0644]