This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/4470: Thousands of seeks per read from cin
- From: Kevin Watkins <kw+ at cs dot cmu dot edu>
- To: bkoz at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, kw+gnats at cs dot cmu dot edu, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: 21 May 2002 18:13:28 -0400
- Subject: Re: libstdc++/4470: Thousands of seeks per read from cin
- References: <20020517101254.10780.qmail@sources.redhat.com>
The seek system calls appear to have been eliminated using gcc-3.1 on
i686-pc-linux-gnu (redhat 7.1, built from source).
I should note that the workaround suggested in the bug
std::ios_base::sync_with_stdio(false);
didn't actually work for me under gcc-3.0.1 (the thousands of seek
system calls were still being generated).
Kevin
On Fri, 2002-05-17 at 06:12, bkoz@gcc.gnu.org wrote:
> Synopsis: Thousands of seeks per read from cin
>
> State-Changed-From-To: analyzed->feedback
> State-Changed-By: bkoz
> State-Changed-When: Fri May 17 03:12:53 2002
> State-Changed-Why:
> This should have been fixed with patches to gcc-3.1. Please confirm.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4470
>