diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2025-05-27 12:06:01 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2025-05-27 13:35:23 +0100 |
commit | 7fa1bd660a8a501671a84ca6421db1fc63ce8654 (patch) | |
tree | fe7ced2014cf6124a09028d9d2e82563e7df3449 /libgcc | |
parent | 324aad35ef42c9c371cf41c42fe180b8dd698239 (diff) | |
download | gcc-7fa1bd660a8a501671a84ca6421db1fc63ce8654.zip gcc-7fa1bd660a8a501671a84ca6421db1fc63ce8654.tar.gz gcc-7fa1bd660a8a501671a84ca6421db1fc63ce8654.tar.bz2 |
libstdc++: Fix test failures for 32-bit AIX
With -maix32 (the default) we only have 16-bit wchar_t so these tests
fail. The debug.cc one is because we use -fwide-exec-charset=UTF-32BE
which tries to encode each wide character as four bytes in a 2-byte
wchar_t. The format.cc one is because the clown face character can't be
encoded in a single 16-bit wchar_t.
libstdc++-v3/ChangeLog:
* testsuite/std/format/debug.cc: Disable for targets with 16-bit
wchar_t.
* testsuite/std/format/functions/format.cc: Use -DUNICODE for
targets with 32-bit wchar_t.
(test_unicode) [UNICODE]: Only run checks when UNICODE is
defined.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions