From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6955 invoked by alias); 5 Oct 2010 17:24:32 -0000 Received: (qmail 6946 invoked by uid 22791); 5 Oct 2010 17:24:31 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID,TW_SV X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Oct 2010 17:24:26 +0000 From: "potswa at mac dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/45841] [4.6 Regression]: r164529 cris-elf libstdc++ 27_io/basic_filebuf/seekoff/char/2-io.cc X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: potswa at mac dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hp at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 05 Oct 2010 17:24:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg00420.txt.bz2 Message-ID: <20101005172400.Q4A4KmZ4oLEph8EyMIeDrsOWgPHjSwIgwWes1iwRZy8@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45841 --- Comment #24 from David Krauss 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 > 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!