This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/7111: cout of null pointer causes core dump


Synopsis: cout of null pointer causes core dump

Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Wed Jul  3 10:02:45 2002
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Wed Jul  3 10:02:45 2002
State-Changed-Why:
    Cannot reproduce with gcc-3_1-branch or mainline gcc. It's been fixed in both with:
    
    2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
    
    	PR libstdc++/6750
    	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
    	for empty string literal.
    	(ostream::operator<<(const _CharT*)): Same.
    	(ostream<char>::operator<<(const char*)): Same.
    	(ostream<char>::operator<<(streambuf*)): Same.
    	* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
    	* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
    
    
    -benjamin

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7111


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]