This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/66855] codecvt wrong endianness in UTF-16 conversions


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66855

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jul 13 20:07:48 2015
New Revision: 225748

URL: https://gcc.gnu.org/viewcvs?rev=225748&root=gcc&view=rev
Log:
        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:
    trunk/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/c++11/codecvt.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]