This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/3860: Writing wide string to wide stream segfaults
- From: paolo at gcc dot gnu dot org
- To: amberarrow at yahoo dot com, gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, paolo at gcc dot gnu dot org
- Date: 5 Dec 2001 08:58:42 -0000
- Subject: Re: libstdc++/3860: Writing wide string to wide stream segfaults
Synopsis: Writing wide string to wide stream segfaults
Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Wed Dec 5 00:58:41 2001
Responsible-Changed-Why:
On i686-pc-linux-gnu (3.0.2 and 3.1 current) there is no
segfault but the output is wrong: "he" (ASCII "h" 00
00 00 "e" 00) instead of the expected "hello".
Changing the testcase to use std::wcout instead of a
wofstream leads to the correct output.
State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Wed Dec 5 00:58:41 2001
State-Changed-Why:
Investigating.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3860&database=gcc