+2004-02-10 Loren J. Rittle <ljrittle@acm.org>
+
+ PR libstdc++/14098
+ * config/linker-map.gnu: Add typeinfo and typeinfo name for
+ __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
+
+2004-02-09 Loren J. Rittle <ljrittle@acm.org>
+
+ * include/ext/pool_allocator.h: Include c++config.h.
+
+2004-02-09 Stefan Olsson <stefan@xapa.se>
+
+ * include/ext/mt_allocator.h: thread_id is unused in non threaded
+ applications and now has a ifdef to remove it completely on
+ compilers without thread support. Include stdlib.h due to a
+ compiler warning on getenv().
+
+2004-02-09 Paul Brook <paul@codesourcery.com>
+
+ * libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
+
+2004-02-09 Paolo Carlini <pcarlini@suse.de>
+
+ PR libstdc++/14071
+ * src/locale_init.cc (locale::global(const locale&)): Use
+ locale::name() in order to decide whether calling setlocale.
+ * testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
+
+ * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
+ Avoid computing &= unnecessarily.
+
+2004-02-09 James E Wilson <wilson@specifixinc.com>
+
+ PR libstdc++/5625
+ * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
+ __builtin_extend_pointer.
+
+2004-02-09 Paolo Carlini <pcarlini@suse.de>
+
+ PR libstdc++/14072
+ * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
+ Don't leave dangling pointers.
+ * testsuite/27_io/basic_ios/imbue/14072.cc: New.
+ * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
+ facet is needed in the final test.
+
+2004-02-09 Bernardo Innocenti <bernie@develer.com>
+
+ * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
+ * configure: Regenerate.
+
+2004-02-08 Richard Henderson <rth@redhat.com>
+
+ PR libstdc++/14026
+ * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
+ uncaughtExceptions during nested catch rethrow.
+ * testsuite/18_support/14026.cc: New.
+
+2004-02-08 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
+ When working in place remember to set the state to sharable
+ (otherwise, _M_mutate does it).
+
+2004-02-08 Bernardo Innocenti <bernie@develer.com>
+
+ * include/bits/allocator.h, include/bits/basic_ios.h,
+ include/bits/basic_ios.tcc, include/bits/basic_string.h,
+ include/bits/basic_string.tcc, include/bits/boost_concept_check.h,
+ include/bits/char_traits.h, include/bits/codecvt.h,
+ include/bits/concurrence.h, include/bits/cpp_type_traits.h,
+ include/bits/demangle.h, include/bits/deque.tcc,
+ include/bits/fstream.tcc, include/bits/functexcept.h,
+ include/bits/gslice.h, include/bits/gslice_array.h,
+ include/bits/indirect_array.h, include/bits/ios_base.h,
+ include/bits/istream.tcc, include/bits/list.tcc,
+ include/bits/locale_classes.h, include/bits/locale_facets.h,
+ include/bits/locale_facets.tcc, include/bits/localefwd.h,
+ include/bits/mask_array.h, include/bits/ostream.tcc,
+ include/bits/postypes.h, include/bits/slice_array.h,
+ include/bits/sstream.tcc, include/bits/stl_algo.h,
+ include/bits/stl_algobase.h, include/bits/stl_bvector.h,
+ include/bits/stl_construct.h, include/bits/stl_deque.h,
+ include/bits/stl_function.h, include/bits/stl_heap.h,
+ include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
+ include/bits/stl_list.h, include/bits/stl_map.h,
+ include/bits/stl_multimap.h, include/bits/stl_multiset.h,
+ include/bits/stl_numeric.h, include/bits/stl_pair.h,
+ include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
+ include/bits/stl_relops.h, include/bits/stl_set.h,
+ include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
+ include/bits/stl_threads.h, include/bits/stl_tree.h,
+ include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
+ include/bits/stream_iterator.h, include/bits/streambuf.tcc,
+ include/bits/streambuf_iterator.h,include/bits/stringfwd.h,
+ include/bits/type_traits.h, include/bits/valarray_after.h,
+ include/bits/valarray_array.h, include/bits/valarray_array.tcc,
+ include/bits/valarray_before.h, include/bits/vector.tcc: Remove
+ trailing whitespace.
+
+2004-02-06 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/basic_string.h: Fix comment.
+
+2004-02-06 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/stl_construct.h: Wrap overlong lines, reformat
+ according to the coding standards.
+ * include/bits/stl_pair.h: Likewise.
+ * include/bits/stl_raw_storage_iter.h: Likewise.
+ * include/bits/stl_stack.h: Likewise.
+ * include/bits/stl_uninitialized.h: Likewise.
+ * include/bits/stream_iterator.h: Likewise.
+ * include/bits/streambuf_iterator.h: Likewise.
+ * include/bits/type_traits.h: Likewise.
+
+2004-02-06 Paolo Carlini <pcarlini@suse.de>
+
+ * testsuite/27_io/basic_filebuf/open/char/9507.cc:
+ Adjust timings.
+
+2004-02-05 Loren J. Rittle <ljrittle@acm.org>
+
+ * scripts/check_performance: Support PCH.
+
+ * scripts/check_performance (CXX): Add -DNOTHREAD.
+ * testsuite/performance/20_util/allocator/insert.cc: Integrate
+ threaded tests from insert_insert.cc. Tweak iterations,
+ remove special cases.
+ * testsuite/performance/20_util/allocator/insert_insert.cc:
+ Make all tests single-threaded. Tweak iterations.
+ * testsuite/performance/20_util/allocator/map_thread.cc:
+ Tweak iterations.
+ * testsuite/performance/20_util/allocator/producer_consumer.cc:
+ Likewise.
+
+2004-02-05 Geoffrey Keating <geoffk@apple.com>
+
+ PR 12179
+ * .cvsignore: New.
+ * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
+ 'gcc-lib'. Add comment about poorly-named variables.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2004-02-05 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
+ Thousands-sep are always optional; thousands-sep are not allowed
+ after the decimal_point.
+ * testsuite/22_locale/money_get/get/char/12.cc: New.
+ * testsuite/22_locale/money_get/get/char/13.cc: New.
+ * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
+ * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
+
+ * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
+ * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
+ * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
+ * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
+ * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
+ * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
+ * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
+ * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
+
+ * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
+ the standard.
+ * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
+
+2004-02-05 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
+ Define.
+ * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
+ it to decide whether FIONREAD should take an off_t or int argument.
+
+2004-02-05 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/stl_function.h: Minor formatting changes.
+
+2004-02-04 Zack Weinberg <zack@codesourcery.com>
+
+ Revert previous change to config/abi/*/baseline_symbols.txt.
+
+2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
+ Zack Weinberg <zack@codesourcery.com>
+
+ * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
+ New function.
+ (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
+ (__basic_file<char>::_M_open_mode): Delete.
+ * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
+
+ * testsuite/27_io/basic_filebuf/close/char/9964.cc
+ * testsuite/27_io/basic_filebuf/open/char/9507.cc:
+ Correct flags to filebuf::open calls.
+
+ * config/abi/alpha-freebsd5/baseline_symbols.txt
+ * config/abi/alpha-linux-gnu/baseline_symbols.txt
+ * config/abi/hppa-linux-gnu/baseline_symbols.txt
+ * config/abi/i386-freebsd4/baseline_symbols.txt
+ * config/abi/i386-freebsd5/baseline_symbols.txt
+ * config/abi/i486-linux-gnu/baseline_symbols.txt
+ * config/abi/ia64-linux-gnu/baseline_symbols.txt
+ * config/abi/mips-linux-gnu/baseline_symbols.txt
+ * config/abi/sparc-freebsd5/baseline_symbols.txt
+ * config/abi/sparc-linux-gnu/baseline_symbols.txt
+ * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
+ Remove entry for __basic_file<char>::_M_open_mode.
+
+2004-02-04 Loren J. Rittle <ljrittle@acm.org>
+
+ * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
+
+2004-02-04 Felix Yen <fwy@alumni.brown.edu>
+
+ * testsuite/performance/20_util/producer_consumer.cc: New.
+ * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
+
+2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/performance/20_util/allocator.cc: Move to..
+ * testsuite/performance/20_util/allocator/insert.cc: ...here.
+ * testsuite/performance/20_util/allocator_thread.cc: Move to...
+ * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
+ * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
+ * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
+
+2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
+
+ * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
+ * docs/html/faq/index.txt: Regenerate.
+
+2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
+
+ * include/ext/debug_allocator.h: _M_extra now stands for the
+ number of extra objects instead of the number of extra bytes.
+ (debug_allocator::allocate): Adjust.
+ (debug_allocator::deallocate): Adjust.
+
+ * include/ext/pool_allocator.h: Fix typo.
+
+2004-02-03 Felix Yen <fwy@alumni.brown.edu>
+ Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/performance/20_util/allocator.cc: Add map,
+ deque, set tests.
+ * testsuite/performance/20_util/allocator_thread.cc: Same.
+
+2004-02-03 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/basic_string.h (insert(iterator)): Remove,
+ non-standard and already scheduled for removal.
+
+2004-02-03 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/stl_iterator_base_funcs.h: Minor formatting
+ and indentation tweaks.
+ * include/bits/stl_iterator_base_types.h: Likewise.
+ * include/bits/stl_list.h: Likewise.
+ * include/bits/stl_map.h: Likewise.
+ * include/bits/stl_tempbuf.h: Likewise.
+
+2004-02-02 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/gslice.h, include/bits/gslice_array.h,
+ include/bits/indirect_array.h, include/bits/mask_array.h,
+ include/bits/slice_array.h, include/bits/stl_numeric.h,
+ include/std/std_valarray.h: Update copyright years.
+
+2004-02-02 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/gslice.h (gslice): Document.
+ * include/bits/gslice_array.h (gslice_array): Document.
+ * include/bits/indirect_array (indirect_array): Document.
+ * include/bits/mask_array (mask_array): Document.
+ * include/bits/slice_array.h (slice,slice_array): Document.
+ * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
+ adjacent_difference): Document
+ * include/std/std_valarray.h (valarray): Document.
+
+2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
+
+ * docs/html/19_diagnostics/howto.html: Move verbose terminate
+ documentation...
+ * docs/html/18_support/howto.html: Here.
+ * docs/html/documentation.html: Add reference here.
+
+2004-02-02 Paolo Carlini <pcarlini@suse.de>
+
+ * config/locale/gnu/c++locale_internal.h: Remove prototypes
+ of no longer used GLIBC thread locale functions.
+
2004-02-02 Eric Christopher <echristo@redhat.com>
- Zack Weinberg <zack@codesourcery.com>
+ Zack Weinberg <zack@codesourcery.com>
* testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
- -finput-charset.
- * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
- * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
+ -finput-charset.
+ * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
+ * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
* testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
- * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
- * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
- * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
- * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
- * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
+ * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
+ * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
+ * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
+ * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
+ * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
Ditto.
2004-02-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/11584
* include/bits/ios_base.h (ios_base::_M_grow_words): Add
- iword/pword selector.
+ iword/pword selector.
(ios_base::iword, ios_base::pword): Use it.
* src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
- iword or pword member on alloc failure.
+ iword or pword member on alloc failure.
* testsuite/27_io/ios_base/storage/11584.cc: New test.
2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
* include/bits/stl_list.h:
* include/bits/list.tc:
* src/list.cc:
- Performance enhancements for destructor, push_front(),
- push_back(), pop_front(), pop_back(), sort()
- Eliminated static_casts where possible.
- Moved code out of header files into new src/list.cc
- implementation file for library where possible.
- Remove inheritance from iterator class and create separate
- classes for non-constant and constant iterators.
+ Performance enhancements for destructor, push_front(),
+ push_back(), pop_front(), pop_back(), sort()
+ Eliminated static_casts where possible.
+ Moved code out of header files into new src/list.cc
+ implementation file for library where possible.
+ Remove inheritance from iterator class and create separate
+ classes for non-constant and constant iterators.
* include/bits/stl_tree.h (_Rb_tree class):
* src/tree.cc:
- Only erase contents in destructor.
- Eliminate unnecessary initialization in assignment operator.
- Optimize for the nominal case by not checking whether
- container is empty in clear().
- Re-order test in _M_insert() to improve performance.
- Move initialization of new node's left & right pointers to
- src/tree.cc to where new node's colour is initialized
- and to reduce the amount of inline code.
- Use _M_leftmost() and _M_end() to improve readability where
- appropriate.
- Create separate classes for non-constant and constant
- iterators to clarify code, avoid extra template parameters and
- casting away constness.
+ Only erase contents in destructor.
+ Eliminate unnecessary initialization in assignment operator.
+ Optimize for the nominal case by not checking whether
+ container is empty in clear().
+ Re-order test in _M_insert() to improve performance.
+ Move initialization of new node's left & right pointers to
+ src/tree.cc to where new node's colour is initialized
+ and to reduce the amount of inline code.
+ Use _M_leftmost() and _M_end() to improve readability where
+ appropriate.
+ Create separate classes for non-constant and constant
+ iterators to clarify code, avoid extra template parameters and
+ casting away constness.
2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
redundant #include.
2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
- Stefan Olsson <stefan@snon.net>
+ Stefan Olsson <stefan@snon.net>
* scripts/check_performance: Use -pthread.
* testsuite/performance/allocator.cc: Tweaks, add list.