[patch] Fix codecvt<char16_t, char, mbstate_t>
Jonathan Wakely
jwakely@redhat.com
Wed Feb 18 19:07:00 GMT 2015
While working on PR64797 I discovered that the codecvt<char16_t,...>
specialization was, erm, completely broken when creating UTF-16
surrogate pairs.
This fixes it and adds a test, based on the char32_t one I added to
the testsuite yesterday. Tested x86_64-linux (little-endian) and
powerpc64-linux (big-endian).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 6230 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150218/416b55c4/attachment.bin>
More information about the Gcc-patches
mailing list