[patch] Fix codecvt<char16_t, char, mbstate_t>

Jonathan Wakely jwakely@redhat.com
Wed Feb 18 20:21:00 GMT 2015


On 18/02/15 19:07 +0000, Jonathan Wakely wrote:
>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).

Committed, along with this tweak to only run the tests where
supported.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1102 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150218/c4394386/attachment.bin>


More information about the Libstdc++ mailing list