On 03/18/2016 02:04 PM, Stefan Liebler wrote: > Is the previously attached test-case okay? Hi, here is one further update regarding the new test "iconv/tst-iconv7.c". If "make check" is executed directly after building without the installation step, then /iconvdata/gconv-modules hasn't been generated yet and the system gconv-modules-file/iconv-modules are used instead - if available. The test needs gconv-modules and the UTF-16|32 modules as prerequirement. Thus I've moved it to iconvdata/bug-iconv12.c and added the prerequirements in iconvdata/Makefile. Ok, to commit? ChangeLog: [BZ #19727] * iconvdata/utf-16.c (BODY): Report an error if first word is not a valid high surrogate. * iconvdata/utf-32.c (BODY): Report an error if the value is in range of an utf16 surrogate. * iconv/gconv_simple.c (BODY): Likewise. * iconvdata/bug-iconv12.c: New file. * iconvdata/Makefile (tests): Add bug-iconv12.