https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419
Bug ID: 86419 Summary: codecvt<char16_t, ...>::in() and out() incorrectly return partial in some cases. Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dmjpp at hotmail dot com Target Milestone: --- I have created a bunch of test cases, and on some it fails unexpectedly. I'll post the code as attachment, the lines with the bug have the word "bug".