[Bug libstdc++/66855] codecvt wrong endianness in UTF-16 conversions
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 3 15:11:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66855
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Sep 3 15:10:32 2015
New Revision: 227452
URL: https://gcc.gnu.org/viewcvs?rev=227452&root=gcc&view=rev
Log:
Backport PR libstdc++/66855 fix from mainline
2015-07-13 Jonathan Wakely <jwakely@redhat.com>
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.
Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/src/c++11/codecvt.cc
More information about the Gcc-bugs
mailing list