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
0001-libstdc-implement-locale-support-for-AIX.patch
Description: 0001-libstdc-implement-locale-support-for-AIX.patch