This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] ctype: Fix bitfield types on 16-bit targets
On 20/07/18 12:57, Corinna Vinschen wrote:
> On Jul 20 13:07, Sebastian Huber wrote:
>> This prevents errors like this:
>>
>> newlib/libc/ctype/categories.c:6:3: error: width of 'first' exceeds its type
>> unsigned int first: 24;
>> ^
>>
>> Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
>> ---
>> newlib/libc/ctype/categories.c | 5 +++--
>> newlib/libc/ctype/towctrans_l.c | 9 +++++----
>> 2 files changed, 8 insertions(+), 6 deletions(-)
>
> ACK. Please push.
>
>
> Thanks,
> Corinna
>
Hi,
Our aarch64 and arm bare-metal tests are showing failures with gcc's
libstdc++ 22_locale/ctype/to/wchar_t/1.cc after this patch.
src/gcc/libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/1.cc:66: void
test01(): Assertion 'c100 == c00' failed.
I haven't looked further into, just finished bisecting the issue. Any
idea what might be going wrong?
Cheers,
Andre