public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/48340] New: Several wchar_t tests FAIL on IRIX 6.5
@ 2011-03-29 17:32 ro at gcc dot gnu.org
  2011-03-29 18:19 ` [Bug libstdc++/48340] " redi at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: ro at gcc dot gnu.org @ 2011-03-29 17:32 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-06-13 11:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-29 17:32 [Bug libstdc++/48340] New: Several wchar_t tests FAIL on IRIX 6.5 ro at gcc dot gnu.org
2011-03-29 18:19 ` [Bug libstdc++/48340] " redi at gcc dot gnu.org
2011-03-29 18:48 ` redi at gcc dot gnu.org
2011-03-29 18:48 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-03-30 11:27 ` redi at gcc dot gnu.org
2011-03-30 11:29 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-03-30 11:50 ` redi at gcc dot gnu.org
2011-03-30 11:55 ` redi at gcc dot gnu.org
2011-03-30 15:17 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-03-30 15:17 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-04-03 17:58 ` redi at gcc dot gnu.org
2011-04-06  8:55 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-01-11 16:18 ` ro at gcc dot gnu.org
2012-01-11 16:28 ` redi at gcc dot gnu.org
2012-01-11 16:30 ` ro at CeBiTec dot Uni-Bielefeld.DE
2014-06-13 11:44 ` ro at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).