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]

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit



------- Comment #4 from pcarlini at suse dot de  2006-02-09 17:24 -------
Martin, I have a patch in the making which is supposed to fix the problem.

However, with that patch applied, your testcase still fails the third
assertion, that is 'assert (-1 == ifs.tellg ());' at line 15, because tellg
returns the length of the file, not -1. By the way, Dinkum as bundled together
with ICC does the same.

I will look into that, as soon as I finish the first part of the work, but I
wonder if you could possibly also investigate a bit? Maybe we are diverging in
the implementation (not implementation) of some DRs? Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26181


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