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

--- Comment #24 from David Krauss <potswa at mac dot com> 2010-10-05 17:24:22 
UTC ---
(In reply to comment #22)
> Just a heads-up regarding issue #3.
> 
> (In reply to comment #19)
> > Apparently
> > reading after a write at EOF is not in the tests.
> 
> Hm, doesn't
> 27_io/basic_filebuf/sputbackc/char/9425.cc
> test something like that, or at leas EOF after?  It doesn't fail for you?

The required sequence is a write up to EOF followed by a read. 9425 is a
putback at the beginning of the file, which is neither.

> It does for me (cris-axis-elf), seen as a regression with a fixed simulator.
> Or maybe that's not the reason?  Ok, I'll look closer.
> 
> FWIW, due to <http://subversion.tigris.org/issues/show_bug.cgi?id=2333>
> I also saw 27_io/basic_filebuf/sync/wchar_t/1.cc (a file removed in r164529) 
> as
> regressing, which had me confused until I STFW and found that svn up to 1.7.0
> (version according to the bug report, but I can confirm it includes 1.6.9) did
> not include (files in) deleted directories in diffs, like "svn diff -c164529".
> Note that sync/char/1.cc is included.

Did I follow the wrong process for deleting the file? Hmm, I'm using svn 1.6.5.
The reason it was removed was that it verified the very behavior the patch was
designed to eliminate. And no way to adapt it to do something useful. We will,
presumably, re-add that directory with some other kind of test though.

> Looks like lots of libstdc++ file I/O test-cases are missing "// {
> dg-require-fileio "" }" lines.  I'll add them as obvious.

Good to know, thanks!

Reply via email to