libstdc++/4470: Thousands of seeks per read from cin

Kevin Watkins kw+@cs.cmu.edu
Tue May 21 15:14:00 GMT 2002


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
> 




More information about the Gcc-bugs mailing list