+2003-07-22 Doug Gregor <dgregor@apple.com>
+
+ * include/bits/basic_string.h (basic_string::insert): Deprecate
+ GNU extension.
+
+2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
+
+ * scripts/testsuite_flags.in (--build-includes): Remove extraneous
+ paths for libio.
+ * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
+ (test03): Include typeinfo for bad_cast.
+ * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
+ * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
+ * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
+
+2003-07-21 Doug Gregor <dgregor@apple.com>
+
+ * include/bits/boost_concept_check.h:
+ (_EqualityComparableConcept::__constraints): Remove != from the
+ list of constraints; it is not listed in Table 28 of the C++98
+ standard.
+
+2003-07-18 Andreas Jaeger <aj@suse.de>
+
+ * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
+ * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
+ * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
+ * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
+
+2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
+
+ * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
+ * config/locale/generic/messages_members.h: Tweaks.
+ * config/locale/generic/monetary_members.cc
+ (moneypunct::_M_initialize_moneypunct): Use cache.
+ (moneypunct::~moneypunct): Delete cache.
+ * config/locale/generic/time_members.cc:
+ (__timepunct::_M_initialize_timepunct): Use cache.
+ * config/locale/generic/time_members.h:
+ (__timepunct::~__timepunct): Delete cache.
+ (__timepunct::__timepunct): Set cache.
+ * config/locale/gnu/messages_members.h: Tweaks.
+ * config/locale/gnu/monetary_members.cc:
+ (moneypunct::_M_initialize_moneypunct): Use cache.
+ (moneypunct::~moneypunct): Delete cache.
+ * config/locale/gnu/time_members.cc:
+ (__timepunct::_M_initialize_timepunct): Use cache.
+ * config/locale/gnu/time_members.h:
+ (__timepunct::~__timepunct): Delete cache.
+ (__timepunct::__timepunct): Set cache.
+ * include/bits/locale_facets.h (__timepunct_cache): New.
+ (__moneypunct_cache): New.
+ * include/bits/locale_facets.tcc: Tweak.
+ * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
+ * src/locale-inst.cc: Instantiate caches.
+ * src/globals.cc: Add "C" caches.
+ * src/localename.cc: Use external "C" caches.
+
+2003-07-17 Phil Edwards <pme@gcc.gnu.org>
+
+ * docs/doxygen/guide.html: Fix typo.
+
+2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/ext/pod_char_traits.h: Add state template argument.
+
+2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
+ (num_get::_M_convert_int): To _M_insert_int.
+ (num_get::_M_convert_float): To _M_insert_float.
+ * include/bits/locale_facets.tcc (num_get::_M_extract_float):
+ Use caches for ctype, num_get.
+ (num_get::_M_extract_int): Same.
+ (num_get::get(bool)): Same.
+ (__verify_grouping): Use size_t.
+ * src/locale-inst.cc: Update.
+ * src/locale.cc: Adjust _S_atoms_in.
+
+2003-07-16 Phil Edwards <pme@gcc.gnu.org>
+
+ * docs/doxygen/mainpage.html: Move building/writing instructions...
+ * docs/doxygen/guide.html: ...to here. New file.
+
+2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
+
+ * docs/html/ext/howto.html: Update URL for SGI STL docs.
+ * docs/html/faq/index.html: Same.
+ * docs/html/faq/index.txt: Regenerate.
+
+2003-07-16 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/11528
+ * include/bits/locale_facets.tcc (money_get::do_get):
+ Strip only _leading_ zeros.
+ * testsuite/22_locale/money_get/get/char/11528.cc: Add.
+ * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
+
+2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+ * include/ext/hash_map (class hash_multimap): Remove extra
+ semicolons from __glibcxx_class_requires3 entries.
+ * include/ext/hash_set (class hash_set): Ditto.
+ (class hash_multiset): Ditto.
+
+2003-07-15 Petur Runolfsson <peturr02@ru.is>
+
+ * include/bits/char_traits.h (char_traits<wchar_t>::move):
+ Change last parameter from int_type to size_t.
+
+2003-07-15 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/stl_algo.h (includes, set_union, set_intersection,
+ set_difference, set_symmetric_difference, max_element, min_element,
+ next_permutation, prev_permutation, find_first_of, find_end):
+ Document.
+ * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
+ restrictions in docs.
+ * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
+ Document.
+ * docs/doxygen/doxygroups.cc (setoperations): New group.
+
+2003-07-15 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/basic_string.h: Document public functions.
+ * docs/doxygen/TODO: Update c21 todo.
+
+2003-07-15 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/stl_list.h: Document more functions.
+ * docs/doxygen/TODO: Update c23 todo.
+
+2003-07-14 Paolo Carlini <pcarlini@unitus.it>
+
+ * config/locale/gnu/c_locale.h (__convert_from_v): One more
+ qualification.
+
+2003-07-14 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_tempbuf.h: Qualify free with std::.
+ * src/locale.cc: Include <cstdlib>, qualify getenv.
+
+2003-07-14 Paolo Carlini <pcarlini@unitus.it>
+
+ * config/locale/gnu/c_locale.h (__convert_from_v): Include
+ <cstdio>. Qualify names.
+ * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
+
+2003-07-14 Paolo Carlini <pcarlini@unitus.it>
+ Nathan C. Myers <ncm-nospam@cantrip.org>
+
+ PR libstdc++/11378
+ * include/std/std_fstream.h (xsputn): Declare only.
+ * include/bits/fstream.tcc (xsputn): Define, optimize for the
+ always_noconv() case: when __n is sufficiently large flush
+ the buffer and issue a direct write, if possible combining the
+ two with writev in __basic_file<>::xsputn_2.
+ * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
+ New, declare.
+ * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
+ Define.
+ * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
+ the availability of writev in <sys/uio.h>.
+ * configure.in: Call here.
+ * acconfig.h: Add undef for the corresponding symbol.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
+
+ * include/std/std_fstream.h (sync): Constify a variable.
+
+2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
+ * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
+
+2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
+
+ * config/locale/gnu/c_locale.h (__convert_from_v): Include
+ <cstring> and <cstdlib>. Qualify names.
+
+2003-07-13 Mark Mitchell <mark@codesourcery.com>
+
+ * config/locale/generic/c_locale.h: Include <cstdlib> and
+ <cstring>.
+ * include/bits/boost_concept_check.h: Add this-> to unqualified
+ method calls.
+ * include/bits/deque.tcc: Likewise.
+ * include/bits/locale_facets.h : Likewise.
+ * include/bits/ostream.tcc: Likewise.
+ * include/bits/stl_algo.h: Likewise.
+ * include/bits/stl_bvector.h: Likewise.
+ * include/bits/stl_deque.h: Likewise.
+ * include/bits/stl_list.h: Likewise.
+ * include/bits/stl_tree.h: Likewise.
+ * include/bits/stl_vector.h: Likewise.
+ * include/bits/vector.tcc: Likewise.
+ * include/ext/rope: Likewise.
+ * include/ext/ropeimpl.h: Likewise.
+ * include/ext/stdio_filebuf.h: Likewise.
+
+2003-07-11 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/basic_ios.h (copyfmt): Document.
+ * include/bits/ios_base.h (event, event_callback, register_callback,
+ xalloc, iword, pword): Document.
+ (imbue, ~ios_base): Update docs on callbacks.
+
+2003-07-11 Phil Edwards <pme@gcc.gnu.org>
+
+ * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
+ warning messages if the environment cannot support symbol versioning.
+ (port_specific_symbol_file): It's plural, add an 's' on the end.
+ * configure.host: Likewise.
+ * src/Makefile.am: Likewise.
+ * config/linker-map.gnu: Remove one semicolon, heh.
+ * scripts/extract_symvers: Don't assume useful 'export' syntax.
+ Set LANG as well as LC_ALL for possibly-broken sort(1)s.
+ * aclocal.m4, configure, src/Makefile.in: Regenerated.
+
+2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/locale_facets.tcc: Use function object for
+ __use_cache instead of template function. Partially specialize for
+ __numpunct<_CharT>.
+ * include/bits/locale_classes.h: Update friend declaration for
+ __use_cache.
+ (_M_install_cache): No throw exception specs.
+ * src/locale.cc: Remove __use_cache specializations.
+ * include/ext/pod_char_traits.h (length): Tweak.
+ * include/bits/locale_facets.h (__numpunct_cache): Remove
+ char_type typedef.
+ * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
+ (pod_long): Remove.
+ * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
+ * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
+ * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
+ * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
+ * testsuite/22_locale/numpunct/members/pod/1.cc: New.
+ * testsuite/22_locale/numpunct/members/pod/2.cc: New.
+
+2003-07-09 Jerry Quinn <jlquinn@optonline.net>
+
+ * src/ios.cc (_M_grow_words): Fix spelling.
+
+2003-07-09 Gawain Bolton <gp.bolton@computer.org>
+
+ * include/bits/stl_tree.h: Move larger member functions in
+ _Rb_tree_base_iterator and _Rb_tree_node to...
+ * src/stl_tree.cc: Here.
+ * src/Makefile.in: Add stl_tree.cc.
+ * src/Makefile.in: Regenerated.
+ * config/linker-map.gnu: Add symbols here.
+
+2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/ext/pod_char_traits.cc: New.
+ * include/ext/pod_char_traits.h: New.
+ * include/Makefile.am (ext_headers): Add pod_char_traits.h.
+ * include/Makefile.in: Regenerate.
+ * docs/html/21_strings/howto.html: Update.
+
+2003-07-08 Gawain Bolton <gp.bolton@computer.org>
+
+ * testsuite/performance/list_create_fill_sort.cc: New.
+
+2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
+
+ * config/locale/generic/numeric_members.cc: Correct type info.
+ * config/locale/gnu/numeric_members.cc: Same.
+ * include/bits/locale_facets.h: Same.
+
+ * include/bits/char_traits.h: Correct spacing.
+
+ * src/locale.cc: Wrap to 80 col.
+
+2003-07-07 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_complex.h: Partially revert last
+ changes: cmath functions must not be qualified.
+
+2003-07-06 Phil Edwards <pme@gcc.gnu.org>
+
+ * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
+ 2.11 with globbing backport fix.
+ * aclocal.m4, configure: Regenerated.
+
+2003-07-06 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
+ if output is at all possible (!_M_reading), cannot be active.
+
+ * include/std/std_fstream.h: Tweak comments to doxygen style.
+
+2003-07-06 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/locale_classes.h: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+ * include/bits/locale_facets.tcc: Likewise.
+ * src/locale.cc: Likewise.
+ * src/localename.cc: Likewise.
+
+2003-07-06 Phil Edwards <pme@gcc.gnu.org>
+
+ * include/bits/allocator_traits.h: Fix doxygen markup.
+ * include/ext/mt_allocator.h: Likewise.
+
+2003-07-06 Phil Edwards <pme@gcc.gnu.org>
+
+ * testsuite/testsuite_hooks.h: Guard against a missing unlink().
+
+2003-07-05 Phil Edwards <pme@gcc.gnu.org>
+
+ * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
+ requirement. Add port_specific_symbol_file variable.
+ * configure.host: Add docs for port_specific_symbol_file.
+ Clean up try_cpu block for x86.
+ * config/linker-map.gnu: No more "last symbol can't have a
+ semicolon" kaka. Add hook for port-specific symbols.
+ * src/Makefile.am: Remove trailing whitespace.
+ (libstdc++-symbol.ver): Detect the presence of port-specific
+ symbols, and add them accordingly.
+
+ * docs/html/17_intro/porting.texi: Bring up to date.
+
+ * src/Makefile.in, aclocal.m4, configure,
+ docs/html/17_intro/porting.html: Regenerated.
+
+2003-07-05 Phil Edwards <pme@gcc.gnu.org>
+
+ * scripts/create_testsuite_files: New file.
+ * testsuite/Makefile.am (all-local, check-performance): Use it.
+ * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
+ * testsuite/Makefile.in: Regenerated.
+
+ * testsuite/performance/filebuf_sputc.cc: Remove the temporary
+ files at the end.
+ * testsuite/performance/fstream_seek_write.cc: Likewise.
+ * testsuite/performance/ofstream_insert_float.cc: Likewise.
+ * testsuite/performance/ofstream_insert_int.cc: Likewise.
+ * testsuite/abi_check.cc (main): Nicer spacing in usage output.
+
+2003-07-05 Gawain Bolton <gp.bolton@computer.org>
+
+ * include/bits/stl_list.h: Performance and memory usage
+ improvements. In particular, the behaviour of the constructor and
+ destructor as the list header node is no longer dynamically
+ allocated/de-allocated.
+ * include/bits/list.tcc: Likewise.
+
+2003-07-05 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_complex.h: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+ * include/std/std_memory.h: Likewise.
+ * include/std/std_valarray.h: Likewise.
+
+2003-07-05 Gawain Bolton <gp.bolton@computer.org>
+
+ * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
+ variable for grandparent and use const
+
+2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
+ * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
+ * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
+ * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
+ * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
+ * testsuite/27_io/objects/char/7.cc: Ditto
+ * testsuite/27_io/objects/char/9661-1.cc: Ditto
+
+2003-07-05 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_bitset.h: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+
+ * include/std/std_fstream.h: Change comment to doxygen style.
+
+2003-07-05 Phil Edwards <pme@gcc.gnu.org>
+
+ * include/std/std_limits.h: More CPP->CXX changes.
+ * scripts/check_survey.in: Likewise.
+
+2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ Move from CPP to CXX.
+ * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
+ * testsuite/Makefile.am: Same.
+ * testsuite/Makefile.in: Regenerate.
+ * po/Makefile.am: Same.
+ * po/Makefile.in: Regenerate.
+ * libsupc++/Makefile.am: Same.
+ * libsupc++/Makefile.in: Regenerate.
+ * libmath/Makefile.am: Same.
+ * libmath/Makefile.in: Regenerate.
+ * include/Makefile.am: Same.
+ * include/Makefile.in: Regenerate.
+ * src/Makefile.am: Same.
+ * src/Makefile.in: Regenerate.
+ * acconfig.h: Same.
+ * configure.host: Same.
+ * configure.in: Same.
+ * configure: Regenerate.
+ * acinclude.m4: Same.
+ * aclocal.m4: Same.
+ * src: Change all files in this directory.
+ * testsuite: Same.
+ * include: Same, standardize include guards.
+ * config: Same.
+ * libsupc++: Same.
+
+2003-07-04 Zack Weinberg <zack@codesourcery.com>
+
+ * testsuite/22_locale/collate/compare/wchar_t/2.cc
+ * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
+ * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
+ * testsuite/22_locale/collate/hash/wchar_t/2.cc
+ * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
+ * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
+ * testsuite/22_locale/collate/transform/wchar_t/2.cc
+ * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
+ * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
+ XFAIL on all targets.
+
+2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2003-07-04 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/locale_facets.tcc (__int_to_char): Move common case
+ to the top.
+
+2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
+ Petur Runolfsson <peturr02@ru.is>
+
+ * config/io/basic_file_stdio.cc: Revert.
+
+2003-07-04 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/deque.tcc: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+ * include/bits/gslice_array.h: Likewise.
+ * include/bits/indirect_array.h: Likewise.
+ * include/bits/list.tcc: Likewise.
+ * include/bits/mask_array.h: Likewise.
+ * include/bits/slice_array.h: Likewise.
+
+2003-07-04 Gawain Bolton <gbolton@free.fr>
+
+ * include/bits/stl_tree.h: Performance and memory usage
+ improvements.
+
+2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am: Replace PWD with PWD_COMMAND.
+ * Makefile.in: Regenerated.
+ * docs/html/Makefile: Likewise.
+
+2003-07-04 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/valarray_array.h: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+ * include/bits/vector.tcc: Likewise.
+
+2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/Makefile.am: Update target_ to host_.
+ * include/Makefile.in: Regenerate.
+ * src/Makefile.am: Same.
+ * src/Makefile.in: Regenerate.
+
+ * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
+
+2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
+ --enable-libstdcxx-debug-flags.
+ (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
+ (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
+ * aclocal.m4: Regenerate.
+ * configure: Same.
+ * docs/html/configopts.html: Update.
+
+2003-07-04 Paolo Carlini <pcarlini@unitus.it>
+
+ Revert the fix for libstdc++/11378.
+
+2003-07-04 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/11378
+ * include/std/std_fstream.h (xsputn): In the unbuffered case,
+ provided always_noconv(), issue directly _M_file.xsputn.
+ * testsuite/performance/filebuf_unbuf_sputn.cc: New.
+
+2003-07-04 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_list.h: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+ * include/bits/stl_queue.h: Likewise.
+ * include/bits/stl_raw_storage_iter.h: Likewise.
+ * include/bits/stl_tempbuf.h: Likewise.
+ * include/bits/stl_tree.h: Likewise.
+ * include/bits/stl_uninitialized.h: Likewise.
+ * include/bits/stl_vector.h: Likewise.
+ * include/ext/rope: Change includes order.
+
+2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ * configure.host (fpos_include_dir): Fix.
+
+2003-07-04 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_heap.h: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+ * include/bits/stl_iterator_base_funcs.h: Likewise.
+
+ * include/bits/stl_algo.h: Qualify __iterator_category too.
+ * include/bits/stl_algobase.h: Likewise.
+ * include/bits/stl_bvector.h: Likewise.
+
+ * include/bits/stl_algo.h: Don't qualify the pair type.
+
+2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/Makefile.am (target_headers): Add fpos.h
+ (bits_headers): Remove.
+ * include/Makefile.in: Regenerate.
+ * configure.in: Add FPOS_INC_SRCDIR, substitute it.
+ * configure: Regenerate.
+ * configure.host: Add fpos_include_dir.
+ * config/os/gnu-linux/fpos.h: New.
+ * config/os/generic/fpos.h: Add.
+ * include/bits/fpos.h: Remove.
+
+ * config/io/c_io_stdio.h: Remove fpos_t typedef.
+
+ * include/bits/fstream.tcc: Tweaks.
+ * include/std/std_fstream.h: Same.
+
+ * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
+ * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
+ * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
+ * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
+ * testsuite/27_io/fpos/1.cc: New.
+
+2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
+ Petur Runolfsson <peturr02@ru.is>
+
+ * include/std/std_streambuf.h: Remove _M_pos.
+ * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
+ * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
+ use fread/fwrite instead of read/write.
+ * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
+ * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
+ before reading again.
+ * testsuite/27_io/objects/char/6.cc: Tweak.
+
+2003-07-03 David Edelsohn <edelsohn@gnu.org>
+
+ * testsuite/22_locale/num_put/put/char/7.cc: Guard with
+ _GLIBCPP_USE_WCHAR_T.
+
+2003-07-02 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/basic_string.tcc (_M_replace_aux): Constify
+ __n1 and __off1.
+
+2003-07-02 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_bvector.h: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+ * include/bits/stl_construct.h: Likewise.
+ * include/bits/stl_deque.h: Likewise.
+
+2003-07-02 Paolo Carlini <pcarlini@unitus.it>
+
+ * testsuite/22_locale/num_put/put/char/7.cc: Include
+ <testsuite_hooks.h>, tweak.
+ * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
+
+2003-07-01 Phil Edwards <pme@gcc.gnu.org>
+
+ * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
+ check* targets, but not libs/programs).
+ * testsuite/Makefile.in: Regenerate.
+
+2003-07-01 Roger Sayle <roger@eyesopen.com>
+
+ * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
+ (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
+ * aclocal.m4: Regenerated.
+ * configure: Regenerated.
+
+2003-07-01 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/11389
+ * include/bits/fstream.tcc (underflow): For encoding() == 0
+ don't read more than __buflen chars.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
+
+2003-07-01 Jerry Quinn <jlquinn@optonline.net>
+
+ * 22_locale/num_put/put/char/7.cc: New.
+ * 22_locale/num_put/put/wchar_t/7.cc: New.
+
+2003-06-30 Jerry Quinn <jlquinn@optonline.net>
+
+ * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
+ * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
+
+2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
+
+ * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
+ * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
+ * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
+ * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
+ * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
+ * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
+ * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
+ * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
+ * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
+ * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
+ * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
+ * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
+ * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
+ * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
+ * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
+ * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
+ * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
+ * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
+ * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
+ * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
+ * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
+ * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
+ * data/seekoff-1.tst: Remove.
+ * data/seekoff-1io.tst: New.
+ * data/seekoff-1out.tst: New.
+ * data/seekoff-2.tst: Remove.
+ * data/seekoff-2io.tst: New.
+ * data/seekoff-2out.tst: New.
+ * data/seekoff.txt
+ * data/seekpos-1.tst: Remove.
+ * data/seekpos-1io.tst: New.
+ * data/seekpos-1out.tst: New.
+ * data/seekpos-2.tst: Remove.
+ * data/seekpos-2io.tst: New.
+ * data/seekpos-2out.tst: New.
+ * data/seekpos.txt: New.
+
+2003-06-30 Jerry Quinn <jlquinn@optonline.net>
+
+ * src/locale.cc (__use_cache<numpunct>): Move from here ...
+ * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
+ here.
+
+2003-06-30 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_algobase.h: Fully qualify standard
+ functions with std::, thus avoiding Koenig lookup.
+
+2003-06-30 Doug Gregor <dgregor@apple.com>
+
+ * include/bits/locale_facets.tcc (money_get::do_get): Avoid
+ subscripting empty string.
+
+2003-06-30 Phil Edwards <pme@gcc.gnu.org>
+
+ * testsuite/Makefile.am (check-am): Do not override.
+ (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
+ * testsuite/Makefile.in: Regenerate.
+
+2003-06-30 Doug Gregor <dgregor@apple.com>
+
+ * testsuite/24_iterators/insert_iterator.cc (test01, test02):
+ Don't initialize an insert_iterator with a singular iterator.
+
+2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
+ * aclocal.m4: Regenerate.
+ * configure.in (GLIBCPP_CHECK_PCH): Move, change to
+ GLIBCPP_ENABLE_PCH, default to yes.
+ * configure: Regenerate.
+ * docs/html/configopts.html: Add --enable-pch.
+
+2003-06-30 Phil Edwards <pme@gcc.gnu.org>
+
+ * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
+ (libstdc++-v3-init): Also set LD_RUN_PATH.
+
+2003-06-30 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
+ from here to filebuf and stringbuf.
+ (~basic_streambuf()): Don't set _M_mode.
+ (basic_streambuf()): Don't set _M_mode.
+ * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
+ (~basic_filebuf()): Clean up.
+ * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
+ * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
+ * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
+ * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
+
+2003-06-30 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_fstream.h (_M_underflow): Remove.
+ (uflow): Remove, inherited from streambuf.
+ (underflow): Only declare.
+ * include/bits/fstream.tcc (_M_underflow): Rename to
+ underflow, to which is equivalent for __bump == false,
+ simplify.
+ * include/std/std_sstream.h (_M_underflow): Remove.
+ (uflow): Remove, inherited from streambuf.
+ (underflow): Only declare.
+ * include/bits/sstream.tcc (_M_underflow): Rename to
+ underflow, to which is equivalent for __bump == false,
+ simplify.
+
+2003-06-29 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_algo.h: Fully qualify standard functions
+ with std::, thus avoiding Koenig lookup.
+
+2003-06-29 Paolo Carlini <pcarlini@unitus.it>
+
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
+ Improve type correctness-wise.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
+ Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
+ Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
+ Likewise.
+
+2003-06-29 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_streambuf.h (uflow): According to
+ 27.5.2.4.3,p16, don't check gptr() < egptr().
+
+2003-06-28 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9875
+ * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
+ (seekpos): Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
+ New test.
+ * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
+ New test.
+
+2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
+ output name to libstdc++-v3-performance.sum.
+ * testsuite/Makefile.am (CLEANFILES): Remove .performance.
+ * testsuite/Makefile.in: Regenerate.
+
+2003-06-27 Matthias Klose <doko@debian.org>
+
+ * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
+ output of abi-check in libstdc++-v3-abi.sum.
+ * testsuite/Makefile.in: Regenerate.
+
+2003-06-27 Krister Walfridsson <cato@df.lth.se>
+
+ * config/os/bsd/netbsd/ctype_noninline.h
+ (_C_ctype_): Declare.
+ (ctype<char>::classic_table): Return _C_ctype_ + 1.
+ (ctype<char>::ctype): Use classic_table.
+
+2003-06-27 Paolo Carlini <pcarlini@unitus.it>
+ Nathan C. Myers <ncm-nospam@cantrip.org>
+
+ PR libstdc++/9178
+ * include/bits/fstream.tcc (_M_underflow): Properly estimate
+ the worst-case number of external bytes for a given get area.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
+
+2003-06-27 Paolo Carlini <pcarlini@unitus.it>
+ Petur Runolfsson <peturr02@ru.is>
+
+ PR libstdc++/11305
+ * include/bits/fstream.tcc (overflow): Properly estimate the
+ worst-case number of external bytes for a given put area
+ (by using codecvt::max_length()).
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
+
+2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
+
+ * config/linker-map.gnu: Remove ; after __numpunct_cache.
+
+2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
+ to the imbued locale.
+ * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
+ _M_getloc.
+ (num_put::_M_convert_float): Use.
+
+2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
+ Jerry Quinn <jlquinn@optonline.net>
+
+ * config/linker-map.gnu: Add __numpunct_cache.
+ * config/locale/gnu/numeric_members.cc
+ (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
+ all elements for "C" locale.
+ (numpunct::~numpunct): Delete _M_data.
+ * config/locale/generic/numeric_members.cc: Same.
+ * include/bits/basic_ios.tcc
+ (basic_ios::init): Remove __locale_cache bits.
+ (basic_ios::_M_cache_locale): Same.
+ * include/bits/ios_base.h: Same. Tweaks.
+ * include/bits/locale_classes.h: Tweaks. Reorder classes.
+ (__use_cache): Make friends with _Impl, locale.
+ (_Impl::_M_caches): Add.
+ (_Impl::_M_install_cache): Add.
+ * include/bits/locale_facets.h (__numpunct_cache): New.
+ (numpunct): Encapsulate data members in __numpunct_cache member,
+ _M_data. Adjust virtuals.
+ (numpunct::numpunct): New ctor for the same.
+ (__locale_cache_base): Remove.
+ (__locale_cache): Remove.
+ * include/bits/locale_facets.tcc (__use_cache): New function,
+ specializations.
+ (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
+ * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
+ * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
+ * src/locale-inst.cc: Same. Add __numpunct_cache.
+ * src/locale.cc: Tweak inlines.
+ (__use_cache): Define specializations.
+ * src/localename.cc: Use global bits.
+ (_Impl::~Impl): Deal with __numpunct_cache destruction.
+ (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
+ (_Impl::_M_init_facet): Take into account __numpunct_cache.
+ * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
+ * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
+
+2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
+ Paolo Carlini <pcarlini@unitus.it>
+
+ * testsuite/performance/filebuf_copy.cc: New, testing char
+ by char file copy.
+
+2003-06-26 Paolo Carlini <pcarlini@unitus.it>
+ Nathan C. Myers <ncm-nospam@cantrip.org>
+
+ * include/bits/fstream.tcc (_M_underflow): When the actual
+ end of file is reached, set 'uncommitted' mode to allow a
+ next write without an intervening seek (see C++98 27.8.1.1,2
+ and C89 7.9.5.3).
+ * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
+
+2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
+
+ * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
+ sputc): Move inline, from here...
+ * include/std/std_streambuf.h: ... to here.
+
+ * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
+ sputbackc, sungetc, sputc): Use __builtin_expect.
+
+2003-06-24 Phil Edwards <pme@gcc.gnu.org>
+
+ * docs/doxygen/mainpage.html: Use a useful title.
+
+2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
+
+ * docs/html/documentation.html: Remove assignment info.
+ * docs/html/17_intro/contribute.html: Edits.
+ * docs/html/17_intro/libstdc++-assign.tx: Remove.
+
+ * docs/html/test.html: Update.
+
+ * README: Update.
+
+2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
+ Ulrich Drepper <drepper@redhat.com>
+
+ * testsuite/testsuite_performance.h: Tweak mallinfo.
+
+2003-06-24 Paolo Carlini <pcarlini@unitus.it>
+ Nathan C. Myers <ncm-nospam@cantrip.org>
+
+ * include/std/std_fstream.h (_M_filepos): Remove.
+ (_M_reading, _M_writing): New, encode the various I/O modes:
+ 'read', 'write' and 'uncommitted'.
+ (sync): If there is something to flush, do it, then go to
+ 'uncommitted' mode.
+ * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
+ with three different cases: __off > 0 (upon underflow),
+ __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
+ seekoff/pos).
+ (_M_underflow): Don't call overflow, set _M_reading to true
+ on success, tweak.
+ (pbackfail): Set _M_reading to true on pback creation, tweak.
+ (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
+ set _M_writing to true on success, tweak.
+ (seekoff): Simplify, set _M_reading, _M_writing to false, call
+ _M_set_buffer(-1) ('uncommitted').
+ (open, close, setbuf): Set _M_reading, _M_writing to false and
+ call _M_set_buffer(-1), tweak.
+ (basic_filebuf): Don't set _M_buf_unified.
+ (_M_destroy_internal_buffer): Don't call setg and setp.
+ * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
+ _M_writing and _M_set_buffer(-1).
+ * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
+ _M_out_lim, _M_buf_unified): Remove.
+ (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
+ (setp): Don't set _M_out_lim.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
+ the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
+ upon open the mode is 'uncommitted' and therefore the put area
+ pointers are null.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
+ * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
+
+ * include/bits/fstream.tcc (showmanyc): Use only the
+ documented derivation interface to basic_streambuf (gptr(),
+ setg(), etc.) to work right with user specializations.
+ * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
+ sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
+ * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
+ Likewise.
+ * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
+ xsgetn): Likewise.
+
2003-06-23 Loren J. Rittle <ljrittle@acm.org>
* configure.host (freebsd*): Set abi_baseline_pair.
* docs/html/17_intro/libstdc++-assign.txt: Update address.
* testsuite/performance/ifstream_getline.cc: Fix.
-
+
2003-06-23 Doug Gregor <dgregor@apple.com>
- * include/bits/boost_concept_check.h: Don't use _D or _R for type
- names.
+ * include/bits/boost_concept_check.h: Don't use _D or _R for type
+ names.
2003-06-22 Paolo Carlini <pcarlini@unitus.it>
Nathan C. Myers <ncm-nospam@cantrip.org>
2003-06-20 Doug Gregor <dgregor@apple.com>
- * include/bits/basic_string.h (basic_string::replace): Dispatch
+ * include/bits/basic_string.h (basic_string::replace): Dispatch
_InputIterator version based on _Is_integer.
* include/bits/basic_string.tcc (basic_string::replace):
Renamed replace(iterator, iterator, size_type, _CharT) to
(CLEANFILES): Add.
2003-06-18 Paolo Carlini <pcarlini@unitus.it>
- Benjamin Kosnik <bkoz@redhat.com>
+ Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_sstream.h (setbuf): Check __n >= 0.
* include/bits/fstream.tcc (setbuf): Tweak.
(seekpos): Likewise, clean up.
2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
- Paolo Carlini <pcarlini@unitus.it>
+ Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
simply equivalent to the unbuffered case (0, 0) as far as
2003-06-16 Andreas Jaeger <aj@suse.de>
- * testsuite/abi_check.cc: Create summary report.
+ * testsuite/abi_check.cc: Create summary report.
2003-06-16 Paolo Carlini <pcarlini@unitus.it>
* configure: Regenerate.
2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
- Andreas Jaeger <aj@suse.de>
+ Andreas Jaeger <aj@suse.de>
* configure.host: Set x86_64 abi_baseline pair correctly.
2003-06-16 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
- fix for missing seeks between gets and puts into...
+ fix for missing seeks between gets and puts into...
* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
Avoid multi-processor bus contention on increment/decrement-and-
test of the reference count in the empty-string object, by comparing
- addresses first, and never touching the reference count of the empty-
- string object.
+ addresses first, and never touching the reference count of the empty-
+ string object.
* include/bits/basic_string.h:
(_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
members.
since no longer must increment its refcount.
* include/bits/basic_string.tcc:
(_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
- return immediately. The former might be unnecessary. The latter
- prevents begin() and end() from cloning it unnecessarily.
+ return immediately. The former might be unnecessary. The latter
+ prevents begin() and end() from cloning it unnecessarily.
(_S_construct(_InIterator, _InIterator, const _Alloc&,
input_iterator_tag), _S_construct(_InIterator, _InIterator,
const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
(_M_mutate): Check for the empty string and treat it as shared.
- This is necessary here because _M_mutate is sometimes called with
- all-zero arguments; in all other uses of _M_is_shared, the test comes
- out right anyhow.
+ This is necessary here because _M_mutate is sometimes called with
+ all-zero arguments; in all other uses of _M_is_shared, the test comes
+ out right anyhow.
2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/allocators.cc: Fixup.
2003-06-11 Stefan Olsson <stefan@snon.net>
- Ola Rönnerup <fnolis@home.se>
+ Ola Rönnerup <fnolis@home.se>
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* docs/html/test.html: ...here. Add documentation.
* docs/html/install.html: Move testing bits out..
* docs/html/documentation.html: Add separate testing link.
- * testsuite/performance: Add.
- * testsuite/performance/allocator.cc: New.
- * testsuite/performance/complex_norm.cc: New.
- * testsuite/performance/cout_insert_int.cc: New.
- * testsuite/performance/fstream_seek_write.cc: New.
- * testsuite/performance/ifstream_getline.cc: New.
- * testsuite/performance/map_create_fill.cc: New.
- * testsuite/performance/ofstream_insert_float.cc: New.
- * testsuite/performance/ofstream_insert_int.cc: New.
- * testsuite/performance/string_append.cc: New.
+ * testsuite/performance: Add.
+ * testsuite/performance/allocator.cc: New.
+ * testsuite/performance/complex_norm.cc: New.
+ * testsuite/performance/cout_insert_int.cc: New.
+ * testsuite/performance/fstream_seek_write.cc: New.
+ * testsuite/performance/ifstream_getline.cc: New.
+ * testsuite/performance/map_create_fill.cc: New.
+ * testsuite/performance/ofstream_insert_float.cc: New.
+ * testsuite/performance/ofstream_insert_int.cc: New.
+ * testsuite/performance/string_append.cc: New.
* testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
performance tests.
2003-05-07 Richard Henderson <rth@redhat.com>
- PR c++/10570
- * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
- (__cxa_end_catch): Likewise.
- * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
- _Unwind_Resume_or_Rethrow.
- * libsupc++/eh_personality.cc (empty_exception_spec): New.
- (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
- for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
- exceptions. Don't push terminate/unexpected to cxa functions.
- (__cxa_call_unexpected): Remove foreign exception fixmes.
+ PR c++/10570
+ * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
+ (__cxa_end_catch): Likewise.
+ * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
+ _Unwind_Resume_or_Rethrow.
+ * libsupc++/eh_personality.cc (empty_exception_spec): New.
+ (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
+ for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
+ exceptions. Don't push terminate/unexpected to cxa functions.
+ (__cxa_call_unexpected): Remove foreign exception fixmes.
2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
* include/bits/sstream.tcc: Same.
- * include/bits/basic_ios.h: Correct spacing for '< ctype'.
+ * include/bits/basic_ios.h: Correct spacing for '< ctype'.
* include/bits/locale_facets.tcc: Replace __temp to __tmp.
2003-04-28 Petur Runolfsson <peturr02@ru.is>
- PR libstdc++/9523
- * include/bits/ios_base.h (Init::_S_ios_create,
- Init::_S_ios_destroy): Remove declarations.
- (Init::_S_create_buffers,
- Init::_S_destroy_buffers): Declare
- * src/ios.cc (Init::_S_ios_create): Remove
- (Init::_S_create_buffers): Create buffers and add to streams.
- (Init::_S_ios_destroy): Rename to...
- (Init::_S_destroy_buffers): this.
- (Init::Init): Only construct streams once.
- (Init::~Init): Flush streams, don't destroy them.
- (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
- * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
- * testsuite/27_io/objects/char/5.cc: New test.
- * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
- * testsuite/27_io/objects/char/6.cc: New test.
- * testsuite/27_io/objects/char/7.cc: New test.
+ PR libstdc++/9523
+ * include/bits/ios_base.h (Init::_S_ios_create,
+ Init::_S_ios_destroy): Remove declarations.
+ (Init::_S_create_buffers,
+ Init::_S_destroy_buffers): Declare
+ * src/ios.cc (Init::_S_ios_create): Remove
+ (Init::_S_create_buffers): Create buffers and add to streams.
+ (Init::_S_ios_destroy): Rename to...
+ (Init::_S_destroy_buffers): this.
+ (Init::Init): Only construct streams once.
+ (Init::~Init): Flush streams, don't destroy them.
+ (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
+ * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
+ * testsuite/27_io/objects/char/5.cc: New test.
+ * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
+ * testsuite/27_io/objects/char/6.cc: New test.
+ * testsuite/27_io/objects/char/7.cc: New test.
2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
- * testsuite/27_io/objects/char/8.cc: New test.
+ * testsuite/27_io/objects/char/8.cc: New test.
2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
_M_in_cur, not gptr().
2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
- Phil Edwards <pme@gcc.gnu.org>
+ Phil Edwards <pme@gcc.gnu.org>
* testsuite_flags.in: Guard against the possibility
of having "xgcc" as a part of a folder name in the
(install-pch): New rule.
(install-headers): New rule.
(install-data-local): Install headers and conditionally pch.
- * include/Makefile.in: Regenerate.
- * testsuite_flags.in (--build-cxx): Use pch file.
+ * include/Makefile.in: Regenerate.
+ * testsuite_flags.in (--build-cxx): Use pch file.
2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
when target is *-*-freebsd*.
2003-04-14 Nathan Myers <ncm@cantrip.org>
- Paolo Carlini <pcarlini@unitus.it>
+ Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9701 (in_avail())
* include/std/std_streambuf.h (in_avail): Simplify, in_avail