This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/48340] New: Several wchar_t tests FAIL on IRIX 6.5
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 17:25:29 +0000
- Subject: [Bug libstdc++/48340] New: Several wchar_t tests FAIL on IRIX 6.5
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48340
Summary: Several wchar_t tests FAIL on IRIX 6.5
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ro@gcc.gnu.org
Host: mips-sgi-irix6.5
Target: mips-sgi-irix6.5
Build: mips-sgi-irix6.5
Of the remaining libstdc++ failures on IRIX 6.5, most are related to wchar_t
tests, as can be seen at
http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg02830.html
An example is
FAIL: 21_strings/basic_string/inserters_extractors/wchar_t/1.cc execution test
Assertion failed: EX, file
/vol/gcc/src/hg/gcc-4.6-branch/local/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc,
line 52
#6 0x1000308c in test01 () at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:52
Running the testcase under gdb, I find:
(gdb) p str10
$1 = {static npos = 4294967295, _M_dataplus = {<std::allocator<wchar_t>> =
{<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
_M_p = 0x1000e2f4
L"\000\000\000s\000\000\000a\000\000\000i\000\000\000l\000\000\000i\000\000\000n\000\000\000g\000\000\000
\000\000\000g\000\000\000r\000\000\000a\000\000\000n\000\000\000d\000\000\000
\000\000\000t\000\000\000r\000\000\000a\000\000\000v\000\000\000e\000\000\000r\000\000\000s\000\000\000e\000\000\000
\000\000\000b\000\000\000a\000\000\000y\000\000\000\n\000\000\000\t\000\000\000\t\000\000\000\t\000\000\000
\000\000\000 \000\000\000 \000\000\000
\000\000\000f\000\000\000r\000\000\000o\000\000\000m\000\000\000
\000\000\000E\000\000\000l\000\000\000k\000\000\000
\000\000\000R\000\000\000a\000\000\000p\000\000\000i\000\000\000d\000\000\000s\000\000\000
"...}}
(gdb) p str02
$2 = {static npos = 4294967295, _M_dataplus = {<std::allocator<wchar_t>> =
{<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
_M_p = 0x1000e0f4
L"\000\000\000s\000\000\000a\000\000\000i\000\000\000l\000\000\000i\000\000\000n\000\000\000g"}}
I'll need guidance where to look further for the root cause of this.