[PATCH] libstdc++: implement locale support for AIX

CHIGOT, CLEMENT clement.chigot@atos.net
Mon Jan 11 09:13:11 GMT 2021


Hi everyone, 

This patch adds a partial locale support in libstdc++
for AIX. 
The message_members part isn't yet implemented. 

The tests have been launched in AIX7.2 and AIX7.1. 
There are a few new tests failing (~20), but most of them 
weren't launched before and they don't seem too much
related to locale itself. Some are failing in 32bit because 
wchar_t is 16bit on AIX. Some others are failing because 
of some slightly AIX differences.

Please apply for me if approved.
If possible, could it be backported as is in gcc-10, gcc-9
and maybe gcc-8 branch ? 
For gcc-8 branch, there is a few changes to be made in 
check_v3_target_namedlocale where the indentation isn't 
the same, and the configure needs to be regenerated too. 
I've already made the patch if needed.  

Clément Chigot
ATOS Bull SAS
1 rue de Provence - 38432 Échirolles - France

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libstdc-implement-locale-support-for-AIX.patch
Type: application/octet-stream
Size: 88903 bytes
Desc: 0001-libstdc-implement-locale-support-for-AIX.patch
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210111/1651dcab/attachment-0001.obj>


More information about the Gcc-patches mailing list