On 10/06/2018 04:13 PM, David Edelsohn wrote:
On Fri, Oct 5, 2018 at 5:47 PM Martin Sebor wrote:
David,
Attached is a patch to conditionalize the memchr-1.c test
to pass even with 2-byte wchar_t's. It also adds a compile
only test to verify memchr with -fnarrow-wchar. I verified
the changes
On Fri, Oct 5, 2018 at 5:47 PM Martin Sebor wrote:
>
> David,
>
> Attached is a patch to conditionalize the memchr-1.c test
> to pass even with 2-byte wchar_t's. It also adds a compile
> only test to verify memchr with -fnarrow-wchar. I verified
> the changes on LE x86_64-linux and BE powerpc64-
David,
Attached is a patch to conditionalize the memchr-1.c test
to pass even with 2-byte wchar_t's. It also adds a compile
only test to verify memchr with -fnarrow-wchar. I verified
the changes on LE x86_64-linux and BE powerpc64-linux but
if you could confirm they also work on AIX that would
On 10/05/2018 12:54 PM, David Edelsohn wrote:
memchr-1.c tests for char (test_narrow) and wchar (test_wide). The
wide character test assumes 32 bit wide character, while 32 bit AIX
uses 16 bit wide character. This assumption causes the wide character
part of the test to fail in 32 bit mode on A