public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/9827: Regression: ostream::operator<<(int) doesn't report output errors.
@ 2003-03-22 5:19 jlquinn
0 siblings, 0 replies; 3+ messages in thread
From: jlquinn @ 2003-03-22 5:19 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jlquinn, nobody, peturr02
Synopsis: Regression: ostream::operator<<(int) doesn't report output errors.
Responsible-Changed-From-To: unassigned->jlquinn
Responsible-Changed-By: jlquinn
Responsible-Changed-When: Sat Mar 22 05:19:18 2003
Responsible-Changed-Why:
Fixed the bug
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9827
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libstdc++/9827: Regression: ostream::operator<<(int) doesn't report output errors.
@ 2003-03-22 5:31 jlquinn
0 siblings, 0 replies; 3+ messages in thread
From: jlquinn @ 2003-03-22 5:31 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jlquinn, peturr02
Synopsis: Regression: ostream::operator<<(int) doesn't report output errors.
State-Changed-From-To: open->closed
State-Changed-By: jlquinn
State-Changed-When: Sat Mar 22 05:31:18 2003
State-Changed-Why:
Bug fixed in 3.3 and 3.4/mainline.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9827
^ permalink raw reply [flat|nested] 3+ messages in thread
* libstdc++/9827: Regression: ostream::operator<<(int) doesn't report output errors.
@ 2003-02-24 9:26 peturr02
0 siblings, 0 replies; 3+ messages in thread
From: peturr02 @ 2003-02-24 9:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 9827
>Category: libstdc++
>Synopsis: Regression: ostream::operator<<(int) doesn't report output errors.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 24 09:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: peturr02@ru.is
>Release: gcc version 3.4 20030222 (experimental)
>Organization:
>Environment:
Red Hat Linux 8.0
>Description:
ostream::operator<<(int) doesn't change the streams error state if streambuf::overflow returns eof. This works correctly in gcc-3.2.1.
>How-To-Repeat:
See attachment.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="sputnbug.cc"
Content-Disposition: inline; filename="sputnbug.cc"
#include <ostream>
#include <streambuf>
#undef NDEBUG
#include <cassert>
class Buf : public std::streambuf
{
};
int main()
{
using namespace std;
Buf buf;
ostream stream (&buf);
stream << 1;
assert(!stream.good());
return 0;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-22 5:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-22 5:19 libstdc++/9827: Regression: ostream::operator<<(int) doesn't report output errors jlquinn
-- strict thread matches above, loose matches on Subject: below --
2003-03-22 5:31 jlquinn
2003-02-24 9:26 peturr02
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).