gcc/libstdc++-v3/testsuite/27_io
Jason Merrill 5066927d9e re PR libstdc++/4150 (catastrophic performance decrease in C++ code)
PR libstdc++/4150
        * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
        Move to filebuf.
        (basic_streambuf::_M_set_determinate): Likewise.
        (basic_streambuf::_M_is_indeterminate): Likewise.
        * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
        non-static data member.
        (basic_filebuf::_M_underflow_common): New non-static member function.
        (basic_filebuf::_M_underflow, _M_uflow): Call it.
        (basic_filebuf::sync): Avoid useless seeking.
        (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
        Set _M_filepos.
        (basic_filebuf::_M_set_determinate): Likewise.
        (basic_filebuf::_M_is_indeterminate): Likewise.
        * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
        back to _M_out_beg if necessary.
        (basic_filebuf::seekoff): Likewise.
        (basic_filebuf::_M_underflow_common): Generalization of old
        underflow().  Don't seek back to _M_in_beg.
        * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
        * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
        * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
        * config/os/mingw32/bits/os_defines.h: Likewise.
        * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
        ungetc test.

From-SVN: r52634
2002-04-22 16:28:05 -04:00
..
filebuf_members-1.tst
filebuf_members-1.txt
filebuf_members.cc re PR libstdc++/4164 (33 Memory Leak when using iostream) 2002-04-16 00:45:36 +00:00
filebuf_virtuals-1.tst
filebuf_virtuals-1.txt
filebuf_virtuals-2.tst
filebuf_virtuals-3.tst
filebuf_virtuals.cc re PR libstdc++/4150 (catastrophic performance decrease in C++ code) 2002-04-22 16:28:05 -04:00
filebuf.cc
fpos.cc
fstream_members.cc
ifstream_members-1.tst
ifstream_members-1.txt
ifstream_members.cc
instantiations.cc localefwd.h (locale:🆔:_M_id): Do this correctly, as type safety is important, especially on solaris. 2002-04-18 23:47:50 +00:00
ios_base_callbacks.cc
ios_base_members_static-1.tst
ios_base_members_static.cc
ios_base_storage.cc
ios_ctor.cc
ios_init.cc As per DR 184, libstdc++/3139 2002-04-04 05:32:59 +00:00
ios_manip_basefield.cc
ios_manip_fmtflags.cc
ios_members.cc
iostream_members.cc
iostream.cc
istream_extractor_arith.cc
istream_extractor_char.cc
istream_extractor_other-1.tst
istream_extractor_other-1.txt
istream_extractor_other-2.tst
istream_extractor_other.cc
istream_manip.cc
istream_seeks-1.tst
istream_seeks-1.txt
istream_seeks-2.tst
istream_seeks-3.tst
istream_seeks.cc
istream_sentry.cc
istream_unformatted-1.tst
istream_unformatted-1.txt
istream_unformatted.cc istream.tcc (istream::read): Fix. 2002-04-22 19:10:02 +00:00
istream.cc
istringstream_members.cc
narrow_stream_objects.cc
ofstream_members-1.tst
ofstream_members.cc
ostream_inserter_arith.cc
ostream_inserter_char-1.tst
ostream_inserter_char-1.txt
ostream_inserter_char.cc
ostream_inserter_other-1.tst
ostream_inserter_other-2.tst
ostream_inserter_other.cc
ostream_manip.cc
ostream_seeks-1.tst
ostream_seeks.cc
ostream_unformatted.cc
ostream.cc
ostringstream_members.cc
standard_manipulators.cc
streambuf.cc
stringbuf_virtuals.cc fstream.tcc (filebuf::seekpos): Fix. 2002-04-09 06:14:32 +00:00
stringbuf.cc
stringstream_members.cc
stringstream.cc
wide_stream_objects.cc