gcc/libstdc++-v3/include/std
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
..
std_algorithm.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_bitset.h std_bitset.h: Doxygenate std::bitset<>. 2002-04-12 19:15:59 +00:00
std_complex.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_deque.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_fstream.h re PR libstdc++/4150 (catastrophic performance decrease in C++ code) 2002-04-22 16:28:05 -04:00
std_functional.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_iomanip.h std_iomanip.h: Inline, tweaks. 2002-02-20 00:58:17 +00:00
std_ios.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_iosfwd.h std_iosfwd.h: Don't guard typedefs with _GLIBCPP_USE_WCHAR_T 2002-02-16 02:41:10 +00:00
std_iostream.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_istream.h Tune for size. 2002-02-16 00:19:13 +00:00
std_iterator.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_limits.h As per DR 184, libstdc++/3139 2002-04-04 05:32:59 +00:00
std_list.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_locale.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_map.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_memory.h Intro.3: Date tweak. 2002-03-27 21:41:36 +00:00
std_numeric.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_ostream.h Tune for size. 2002-02-16 00:19:13 +00:00
std_queue.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_set.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_sstream.h user.cfg.in: Also document deprecated entries. 2002-03-06 21:22:56 +00:00
std_stack.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_stdexcept.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_streambuf.h re PR libstdc++/4150 (catastrophic performance decrease in C++ code) 2002-04-22 16:28:05 -04:00
std_string.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_utility.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_valarray.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_vector.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00