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]

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


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
> 



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