Re: [PATCH] ctype: Fix bitfield types on 16-bit targets

"Andre Vieira (lists)" <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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 <[email protected]>
>> ---
>>  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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.