https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68838
Bug ID: 68838 Summary: AIX 32 bit wchar_t testsuite failures Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dje at gcc dot gnu.org Target Milestone: --- Target: powerpc-ibm-aix* The 28277.cc testcases all fail on AIX for the wchar_t case. wchar_t is 16 bits on 32 bit mode AIX and 32 bits on 64 bit AIX. FAIL: 21_strings/basic_string/inserters_extractors/wchar_t/28277.cc execution test FAIL: 27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc execution test FAIL: 27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc execution test FAIL: ext/vstring/inserters_extractors/wchar_t/28277.cc execution test libstdc++ sets the ostream error state flag as "fail" when wchar_t is used on AIX and the size does not match, e.g., 21_strings/basic_string/inserters_extractors/wchar_t/28277.cc $ g++ 28277.cc $ ./a.out .good: 0 .eof: 0 .fail: 1 size: 33554432 size type: 50000000 $ g++ -maix64 27277.cc $ ./a.out .good: 1 .eof: 0 .fail: 0 size: 50000000 size type: 50000000