X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libstdc%2B%2B-v3%2FChangeLog;h=8e8ad9adec6169c037faf0e7f8c96520f38f34b2;hb=696f957989eb27523618fc91406024b533287b3a;hp=193a6a5820bcb8d573fc5f547e6af25660203ae9;hpb=2a469906029a8d2429e56fa41183bc3227e0c235;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 193a6a5820b..8e8ad9adec6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,482 @@ +2004-05-13 Jonathan Wakely + + * docs/html/abi.html: Document effect of -fabi-version on value + of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c. + Fix markup. + +2004-05-13 Benjamin Kosnik + + PR libstdc++/15074 + * docs/html/faq/index.html: Update docs for libsupc++ usage. + +2004-05-13 Benjamin Kosnik + + PR libstdc++/15412 + * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace + __gnu_internal. + (_GLIBCXX_mutex_address): Same. + (_GLIBCXX_once): Same. + (_GLIBCXX_mutex_init): Same. + (_GLIBCXX_mutex_address_init): Same. + +2004-05-13 Benjamin Kosnik + + * docs/html/abi.html: New. + * docs/html/abi.txt: Remove. + * docs/html/documentation.html: Add link. + * testsuite/Makefile.am: Add files. + * testsuite/Makefile.in: Regenerated. + * testsuite/abi_check.cc: Move and modify code into... + * testsuite/testsuite_abi.cc: Add. + * testsuite/testsuite_abi.h: Add. + + * docs/html/17_intro/TODO: Update. + * include/bits/stl_pair.h: Format. + +2004-05-06 Matthias Klose + + * include/backward/iterator.h: Add GPL copyright info, + with exception clause. + * include/bits/boost_concept_check.h: Likewise. + * include + * libsupc++/tinfo.h: Likewise. + * po/string_literals.cc: Likewise. + +2004-05-03 Andreas Tobler + + * acinclude.m4: Replace -W with more speaking -Wextra. + * configure: Rebuilt. + +2004-05-03 Paolo Carlini + + Optimize locale::_M_impl->_M_names for the most common cases: + !_M_names[0] means unnamed; !_M_names[1] means all the categories + the same name (_M_names[0] && _M_names[1] means that the full set + of _M_names must be processed, the general case). + * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name): + Tweak, saving work when !_M_names[1]. + (locale::locale(const locale&, _Facet*): Simplify: now just setting + _M_names[0] = 0 means unnamed. + * src/locale.cc (locale::operator==): Deal first with the common, + easy cases, otherwise fall back to locale::name(). + (locale::name()): Tweak, if !_M_names[0] just return "*". + (locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop + copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1]. + * src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak. + * src/localename.cc (locale::_Impl::_Impl(const char*, size_t): + Simplify when !std::strchr, just updating _M_names[0]; clean up. + (locale::_Impl::_M_replace_categories): When !_M_names[1] prepare + for the general case (full set of names), then do the usual work; + clean up. + + * src/locale.cc (locale::name()): Reserve space in __ret. + * src/locale_init.cc (locale::global(const locale&)): Save + the name in a temporary. + * src/localename.cc (locale::locale(const char*)): Reserve space + in __str. + +2004-04-29 Paolo Carlini + + * src/locale.cc (locale::operator==): Always avoid constructing + locale::name(), directly compare pairs of _M_names. + +2004-04-26 Paolo Carlini + + * include/bits/istream.tcc: Fix comment. + +2004-04-26 Paolo Carlini + + * include/bits/stl_vector.h: Trivial formatting fixes. + * include/bits/vector.tcc: Likewise. + +2004-04-25 Paolo Carlini + + PR libstdc++/15002 (continued again) + * include/bits/istream.tcc (getline(basic_istream<>&, + basic_string<>&, _CharT)): Use a temporary buffer, thus + avoiding reallocation for common case. + + * include/bits/basic_string.tcc (_S_construct(_InIterator, + _InIterator, const _Alloc&, input_iterator_tag)): Tweak size + of temporary buffer to a power of two. + + * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment. + +2004-04-25 Paolo Carlini + + * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: + New. + * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: + Likewise. + * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. + +2004-04-24 Paolo Carlini + Petur Runolfsson + + PR libstdc++/15002 (continued) + * include/bits/istream.tcc (basic_istream<>::getline(char_type*, + streamsize, char_type)): Use traits::find/copy in a loop to speed + up greatly the function in the common case (I/O buffer size >> 1). + +2004-04-24 Paolo Carlini + + * testsuite/27_io/basic_istream/getline/char/4.cc: New. + + * include/bits/istream.tcc (getline(basic_istream<>&, + basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead + of sbumpc(), consistently with the other functions, thus also + dealing correctly with the case of exceeded string::max_size(). + +2004-04-24 Matthias Klose + + Jonathan Wakely + * docs/html/configopts.html: Fix reference to allocator config option. + +2004-04-23 Andrew Pinski + + * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also. + * configure: Regenerate. + +2004-04-23 Daniel Jacobowitz + + PR libstdc++/15047, libstdc++/11610 + * testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download. + (libstdc++_init): Don't pass outdir to v3-copy-files. + +2004-04-21 Paolo Carlini + + * include/bits/deque.tcc: Trivial formatting fixes. + * include/bits/stl_deque.h: Likewise. + * include/bits/stl_list.h: Likewise. + * include/bits/stl_tree.h: Likewise. + +2004-04-21 Paolo Carlini + Andrew Pinski + + * include/bits/basic_string.tcc (_M_mutate): Don't compute + __src unnecessarily. + +2004-04-19 Benjamin Kosnik + + * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: + Clarify assertion, set test variable to false before assert. + * testsuite/27_io/basic_istringstream/str/char/1.cc: Same. + * testsuite/27_io/basic_stringstream/str/char/1.cc: Same. + * testsuite/27_io/ios_base/storage/2.cc: Same. + + * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix + function returns. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same. + * testsuite/27_io/fpos/14320-3.cc: Same. + + * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std. + * testsuite/27_io/fpos/1.cc: Same. + * testsuite/27_io/basic_stringstream/2.cc: Same. + * testsuite/27_io/basic_stringbuf/4.cc: Same. + * testsuite/27_io/basic_stringbuf/1.cc: Same. + * testsuite/27_io/basic_stringbuf/2.cc: Same. + * testsuite/27_io/basic_streambuf/2.cc: Same. + * testsuite/27_io/basic_ostringstream/2.cc: Same. + * testsuite/27_io/basic_ostream/2.cc: Same. + * testsuite/27_io/basic_ofstream/2.cc: Same. + * testsuite/27_io/basic_istringstream/2.cc: Same. + * testsuite/27_io/basic_istream/2.cc: Same. + * testsuite/27_io/basic_iostream/2.cc: Same. + * testsuite/27_io/basic_ios/2.cc: Same. + * testsuite/27_io/basic_ifstream/2.cc: Same. + * testsuite/27_io/basic_fstream/2.cc: Same. + * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx. + + * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare + unsigned against zero. + * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same. + * testsuite/21_strings/basic_string/capacity/char/1.cc: Same. + + * testsuite/18_support/new_delete_placement.cc: Initialize + variables before first use. + * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same. + * testsuite/21_strings/char_traits/requirements/char/1.cc: Same. + * testsuite/21_strings/char_traits/requirements/short/1.cc: Same. + * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc: + Same. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same. + * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc: + Same. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same. + * testsuite/27_io/types/2.cc: Same. + + * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary + file name. + * testsuite/27_io/fpos/14775.cc: Same. + +2004-04-19 Paolo Carlini + + PR libstdc++/15002 (partial) + * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): + Special case __n2 == 1, not calling traits_type::assign/copy. + +2004-04-17 Benjamin Kosnik + + * include/bits/stl_bvector.h: Use _M_impl._M_start. + +2004-04-16 Benjamin Kosnik + + * include/bits/c++config (_GLIBCXX_STD): New. + * src/list.cc: Use it. + * include/std/std_bitset.h: Same. + * include/bits/vector.tcc: Same. + * include/bits/stl_set.h: Same. + * include/bits/stl_multiset.h: Same. + * include/bits/stl_multimap.h: Same. + * include/bits/stl_map.h: Same. + * include/bits/stl_list.h: Same. + * include/bits/stl_vector.h: Same. + * include/bits/stl_bvector.h: Same. + * include/bits/stl_deque.h: Same. + * include/bits/deque.tcc: Same. + * include/bits/list.tcc: Same. + * include/debug/vector: Same. + * include/debug/set.h: Same. + * include/debug/multiset.h: Same. + * include/debug/multimap.h: Same. + * include/debug/map.h: Same. + * include/debug/list: Same. + * include/debug/deque: Same. + * include/debug/bitset: Same. + * include/debug/formatter.h (__gnu_debug): Remove using directive. + Add using declaration for std::type_info. + * include/debug/safe_iterator.h: Add using declaration for + std::iterator_traits and std::pair. + * src/debug_list.cc: New. + * src/Makefile.am: Add debug_list.cc. + * src/Makefile.in: Regenerate. + * config/linker-map.gnu: Add _List_node_base exports for std and + __gnu_norm. + + * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl + idiom that other containers use. + * testsuite/23_containers/vector/bool/clear_allocator.cc: New. + +2004-04-16 Paolo Carlini + + PR libstdc++/14975 + * include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt + in case of error. + * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New. + +2004-04-16 Paolo Carlini + + * acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not + used anymore. + * config.h.in: Regenerate. + +2004-04-16 Paolo Carlini + + * config/locale/generic/monetary_members.cc + (moneypunct::_M_initialize_moneypunct): Avoid calling + btowc unnecessarily, just cast to wchar_t (the concerned chars + all belong to the basic character set). + * config/locale/generic/numeric_members.cc + (numpunct::_M_initialize_numpunct): Likewise. + * config/locale/gnu/monetary_members.cc + (moneypunct::_M_initialize_moneypunct): Likewise. + * config/locale/gnu/numeric_members.cc + (numpunct::_M_initialize_numpunct): Likewise. + +2004-04-15 Paolo Carlini + + * src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl + avoid constructing unnecessarily this->name(). + +2004-04-14 Zack Weinberg + + * testsuite/Makefile.am: Add definition of AM_CXXFLAGS. + Change definition of CXX to use $(shell) instead of backticks. + * testsuite/Makefile.in: Regenerate. + +2004-04-12 Dhruv Matani + + * testsuite/performance/20_util/allocator/list_sort_search.cc: + Minor formatting fixes. + * testsuite/performance/20_util/allocator/map_mt_find.cc: + Likewise. + +2004-04-12 Paolo Carlini + + * config/locale/gnu/numeric_members.cc + (numpunct::_M_initialize_numpunct): No need to wrap + in __uselocale, since btowc is called for chars belonging to + the basic character set. + +2004-04-09 Paolo Carlini + + * testsuite/22_locale/messages/members/char/1.cc: Remove junk. + * testsuite/22_locale/messages/members/char/2.cc: Ditto. + * testsuite/22_locale/messages/members/char/3.cc: Ditto. + * testsuite/22_locale/num_get/get/char/1.cc: Ditto. + * testsuite/22_locale/num_get/get/char/2.cc: Ditto. + * testsuite/22_locale/num_get/get/char/3.cc: Ditto. + * testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto. + * testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto. + * testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto. + * testsuite/22_locale/num_put/put/char/1.cc: Ditto. + * testsuite/22_locale/num_put/put/char/2.cc: Ditto. + * testsuite/22_locale/num_put/put/char/3.cc: Ditto. + * testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto. + * testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto. + * testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto. + * testsuite/22_locale/numpunct/members/char/1.cc: Ditto. + * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto. + +2004-04-07 Paolo Carlini + + * config/locale/generic/time_members.cc + (__timepunct::_M_initialize_timepunct, + __timepunct::_M_initialize_timepunct): the correct + _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively. + * config/locale/gnu/time_members.cc + (__timepunct::_M_initialize_timepunct, + __timepunct::_M_initialize_timepunct): Ditto. + * testsuite/22_locale/time_get/get_monthname/char/4.cc: New. + * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New. + + * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk. + * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto. + * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto. + * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto. + * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto. + * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto. + * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto. + * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto. + * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto. + * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto. + * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto. + * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto. + * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto. + * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto. + * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto. + * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto. + * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto. + * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto. + * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto. + * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto. + * testsuite/22_locale/time_put/put/char/1.cc: Ditto. + * testsuite/22_locale/time_put/put/char/2.cc: Ditto. + * testsuite/22_locale/time_put/put/char/3.cc: Ditto. + * testsuite/22_locale/time_put/put/char/4.cc: Ditto. + * testsuite/22_locale/time_put/put/char/5.cc: Ditto. + * testsuite/22_locale/time_put/put/char/6.cc: Ditto. + * testsuite/22_locale/time_put/put/char/7.cc: Ditto. + * testsuite/22_locale/time_put/put/char/8.cc: Ditto. + * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto. + * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto. + * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto. + * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto. + * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto. + * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto. + * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto. + * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto. + + * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos. + +2004-04-07 Paolo Carlini + + * config/locale/gnu/monetary_members.cc + (moneypunct::_M_initialize_moneypunct): Prefer + _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC, + and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC, + _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING. + * config/locale/gnu/numeric_members.cc + (numpunct::_M_initialize_numpunct): Prefer DECIMAL_POINT + and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP. + +2004-04-06 Benjamin Kosnik + + Fixups for EDG front end. + * include/ext/rope: Instead of non-existent function + _Data_allocate, use allocator's allocate. Use this. + (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag + enumerations from _Rope_RopeRep here. + * include/ext/ropeimpl.h: Same. + * src/ext-inst.cc (_S_min_len): Fix up definition. + + * config/locale/gnu/ctype_members.cc: Qualify base class members + with this. + * config/locale/generic/ctype_members.cc: Same. + * config/locale/gnu/messages_members.h: Same. + * config/locale/generic/messages_members.h: Same. + * src/ctype.cc: Same. + * include/bits/codecvt.h: Same. + + * include/bits/boost_concept_check.h: Declare. + (__error_type_must_be_an_unsigned_integer_type): Remove this. + (__error_type_must_be_an_integer_type): Remove this. + (__error_type_must_be_a_signed_integer_type): Remove this. + + * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast. + + * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception + specification to definition. + (__cxa_allocate_exception): Same. + * libsupc++/eh_catch.cc (__cxa_begin_catch): Same. + * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same. + (__cxa_get_globals): Same. + + * libsupc++/del_op.cc: Add comment about freestanding. + +2004-04-05 Paolo Carlini + + * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): + The critical section is actually very small, only two assignments. + +2004-04-04 Paolo Carlini + Petur Runolfsson + + * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New, + adapted from libstdc++/11378. + +2004-04-03 Paolo Carlini + + * include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out + some duplicated code. + (__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used + in the single threaded case. + * testsuite/performance/20_util/allocator/list_sort_search.cc: + Reorder and renumber the tests consistently with the other testfiles. + * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto. + * testsuite/performance/20_util/allocator/map_thread.cc: Ditto. + * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto. + +2004-04-02 Paolo Carlini + + * include/ext/mt_allocator.h (__mt_alloc<>::deallocate): + Rearrange arithmetic to avoid computing two divisions at + each deallocation. + +2004-04-01 Paolo Carlini + + * include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize): + Streamline the second half, wrapping it in a single + '#ifdef __GTHREADS if (__gthread_active_p())' and avoiding + conditionals inside loops. + +2004-04-01 Paolo Carlini + + PR libstdc++/14775 + * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS. + * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call + GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define + to _GLIBCXX_RES_LIMITS. + (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to + HAVE_LIMIT_*. + * testsuite/testsuite_hooks.h: Declare set_file_limit. + * testsuite/testsuite_hooks.cc: Define it, using getrlimit + and setrlimit(RLIMIT_FSIZE). + * testsuite/27_io/fpos/14775.cc: New. + * config.h.in: Regenerate. + * configure: Likewise. + 2004-03-31 Paolo Carlini * config/locale/generic/c_locale.cc (__convert_to_v(long double&)): @@ -62,9 +541,9 @@ * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator default argument in constructors. (_Rb_tree::_M_empty_initialize): Remove. - + 2004-03-25 Benjamin Kosnik - + * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers. * testsuite/23_containers/set/operators/1_neg.cc: Same. @@ -140,7 +619,7 @@ * testsuite/23_containers/deque/cons/clear_allocator.cc: New. * testsuite/23_containers/list/cons/clear_allocator.cc: New. * testsuite/23_containers/vector/cons/clear_allocator.cc: New. - + 2004-03-24 Dhruv Matani * include/ext/malloc_allocator.h: Fixed the construct function to @@ -150,7 +629,7 @@ * include/ext/debug_allocator.h: Added a check in the deallocate function to check whether the user has passed a NULL pointer or not. - + 2004-03-24 Benjamin Kosnik * docs/html/20_util/allocator.html: Add bitmap_allocator links. @@ -161,7 +640,7 @@ warning from IA64 assembler. 2004-03-24 Dhruv Matani - + * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this function call __builtin_ctz instead of the while loop. (allocate) -> If condition has __builtin_expect. @@ -175,7 +654,7 @@ * testsuite/performance/20_util/allocator/producer_consumer.cc: Use linear algorithm for producer. - + 2004-03-24 Paolo Carlini * include/ext/mt_allocator.h (__mt_alloc<>::allocate, @@ -243,7 +722,7 @@ * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: - Likewise. + Likewise. 2004-03-20 Paolo Carlini @@ -307,18 +786,18 @@ * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is new_allocator for all hosts. * configure: Regenerate. - + 2004-03-16 Paolo Carlini * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers. * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise. - + 2004-03-15 Paolo Carlini * include/bits/locale_facets.tcc (money_get<>::_M_extract): Adjust the logic underlying the parsing of symbol to deal correctly with an optional sign component (i.e., when either - negative_sign or positive_sign is empty) + negative_sign or positive_sign is empty) * testsuite/22_locale/money_get/get/char/19.cc: New. * testsuite/22_locale/money_get/get/wchar_t/19.cc: New. @@ -339,7 +818,7 @@ * include/bits/allocator.h: Include c++allocator.h. * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New. * aclocal.m4: Regenerate. - * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR. + * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR. * configure: Regenerate. * include/Makefile.am (host_headers_extra): Add c++allocator.h. * include/Makefile.in: Regenerate. @@ -361,7 +840,7 @@ * testsuite/20_util/allocator/14176.cc: New. * include/ext/mt_allocator.h: Formatting fixes. - + 2004-03-11 Dhruv Matani * include/Makefile.am (ext_headers): Add @@ -369,7 +848,7 @@ * include/Makefile.in: Regenerate. * docs/html/ext/ballocator_doc.txt: New file. * include/ext/bitmap_allocator.h: New file. - * testsuite/performance/20_util/allocator/list_sort_search.cc: Add + * testsuite/performance/20_util/allocator/list_sort_search.cc: Add test. * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. * testsuite/performance/20_util/allocator/producer_consumer.cc: Add @@ -435,7 +914,7 @@ * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions. 2004-03-08 Benjamin Kosnik - + PR c++/13658 * testsuite/23_containers/deque/modifiers/swap.cc: New. * testsuite/23_containers/list/modifiers/swap.cc: New. @@ -444,7 +923,7 @@ * testsuite/23_containers/multiset/modifiers/swap.cc: New. * testsuite/23_containers/set/modifiers/swap.cc: New. * testsuite/23_containers/vector/modifiers/swap.cc: New. - + 2004-03-08 Petur Runolfsson PR libstdc++/12658 @@ -469,7 +948,7 @@ * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)): Remove redundant conditional on __str.size(). - + 2004-03-08 Benjamin Kosnik * include/bits/allocator.h: Switch defaults to mt_alloc. @@ -484,8 +963,8 @@ PR libstdc++/12658 * src/locale_init.cc (locale::locale): Lock critical regions with external mutexes. - (locale::global): Same. - * include/bits/concurrence.h (__glibcxx_mutex_define_initialized): + (locale::global): Same. + * include/bits/concurrence.h (__glibcxx_mutex_define_initialized): Add in once bits for cases without __GTHREAD_MUTEX_INIT. (__glibcxx_mutex_lock): Same. @@ -499,7 +978,7 @@ * config/linker-map.gnu: Remove types in the signature of atomic exports, as they may vary. - + 2004-03-06 Paolo Carlini * include/bits/locale_facets.tcc: Tweak the comment preceding @@ -535,7 +1014,7 @@ * testsuite/23_containers/multiset/insert/1.cc: Test result string. * testsuite/23_containers/bitset/invalidation/1.cc: Main always - returns 0. + returns 0. * testsuite/23_containers/deque/invalidation/4.cc: Same. * testsuite/23_containers/list/invalidation/1.cc: Same. * testsuite/23_containers/list/invalidation/2.cc: Same. @@ -558,7 +1037,7 @@ * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. * testsuite/lib/libstdc++.exp: Don't add it conditionally to - DEFAULT_CXXFLAGS. + DEFAULT_CXXFLAGS. * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT" from the dg-options. * testsuite/23_containers/vector/invalidation/1.cc: Likewise. @@ -591,20 +1070,20 @@ * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same. * testsuite/22_locale/ctype/is/char/2.cc: Same. * testsuite/thread/pthread7-rope.cc: Same. - * testsuite/thread/pthread6.cc: Same. - * testsuite/thread/pthread5.cc: Same. - * testsuite/thread/pthread4.cc: Same. + * testsuite/thread/pthread6.cc: Same. + * testsuite/thread/pthread5.cc: Same. + * testsuite/thread/pthread4.cc: Same. * testsuite/thread/pthread1.cc: Same. * testsuite/ext/rope.cc: Same. * testsuite/ext/hash_set.cc: Same. - * testsuite/ext/hash_map.cc: Same. + * testsuite/ext/hash_map.cc: Same. * testsuite/ext/concept_checks.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same. * testsuite/25_algorithms/unique/2.cc: Same. * testsuite/25_algorithms/unique/1.cc: Same. * testsuite/25_algorithms/rotate.cc: Same. * testsuite/25_algorithms/min_max.cc: Same. - * testsuite/25_algorithms/equal.cc: Same. + * testsuite/25_algorithms/equal.cc: Same. * testsuite/24_iterators/rel_ops.cc: Same. * testsuite/24_iterators/iterator.cc: Same. * testsuite/24_iterators/insert_iterator.cc: Same. @@ -615,7 +1094,7 @@ * testsuite/23_containers/vector/modifiers/1.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. - * testsuite/23_containers/vector/invalidation/2.cc: Same. + * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/1.cc: Same. * testsuite/23_containers/vector/element_access/1.cc: Same. * testsuite/23_containers/vector/cons/6513.cc: Same. @@ -631,7 +1110,7 @@ * testsuite/23_containers/queue/members/7157.cc: Same. * testsuite/23_containers/priority_queue/members/7161.cc: Same. * testsuite/23_containers/multiset/invalidation/2.cc: Same. - * testsuite/23_containers/multiset/invalidation/2.cc: Same. + * testsuite/23_containers/multiset/invalidation/2.cc: Same. * testsuite/23_containers/multiset/insert/1.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. @@ -649,7 +1128,7 @@ * testsuite/23_containers/list/invalidation/4.cc: Same. * testsuite/23_containers/list/invalidation/3.cc: Same. * testsuite/23_containers/list/invalidation/2.cc: Same. - * testsuite/23_containers/list/invalidation/1.cc: Same. + * testsuite/23_containers/list/invalidation/1.cc: Same. * testsuite/23_containers/list/cons/9.cc: Same. * testsuite/23_containers/list/cons/8.cc: Same. * testsuite/23_containers/list/cons/7.cc: Same. @@ -731,7 +1210,7 @@ * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK. * config.h.in: Regenerate. * configure: Same. - + 2004-03-01 Benjamin Kosnik Support autoconf 2.59 @@ -745,7 +1224,7 @@ * docs/html/18_support/howto.html: Add bit about writing to stderr, mostly by Zack. - + 2004-03-01 Paolo Carlini * include/bits/locale_facets.tcc (money_get<>::_M_extract, @@ -764,7 +1243,7 @@ and decimal_point; tweak a bit. * testsuite/22_locale/num_get/get/char/15.cc: New. * testsuite/22_locale/num_get/get/wchar_t/15.cc: New. - + * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, num_get<>::_M_extract_int): Reorder some conditionals. @@ -775,10 +1254,10 @@ 22.2.6.3, p3 for the thousands separators; tweak a bit. * testsuite/22_locale/money_get/get/char/15.cc: New. * testsuite/22_locale/money_get/get/wchar_t/15.cc: New. - + 2004-03-01 David Billinghurst - * testsuite/lib/libstdc++.exp (v3-list-tests): Use + * testsuite/lib/libstdc++.exp (v3-list-tests): Use testsuite_files from correct multilib blddir when running testsuite. @@ -805,7 +1284,7 @@ * testsuite/22_locale/num_get/get/wchar_t/14.cc: New. 2004-02-27 Eric Christopher - Phil Edwards + Phil Edwards * testsuite/22_locale/collate/compare/wchar_t/2.cc, testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc, @@ -820,7 +1299,7 @@ * testsuite/lib/libstdc++.exp: Load target-supports.exp. 2004-02-27 Phil Edwards - Eric Christopher + Eric Christopher * testsuite/config/default.exp: Update with comments. (${tool}_target_compile): New wrapper routine. @@ -887,23 +1366,23 @@ 2004-02-26 Benjamin Kosnik PR libstdc++/10246 - * libsupc++/Makefile.am: Use libiberty demangler. - (c_sources): Add cp-demangle.c. - * libsupc++/Makefile.in: Regenerate. - * src/Makefile.am (sources): Remove demangle.cc. - * src/Makefile.in: Regenerate. - * include/Makefile.am (bits_headers): Move demangle.h. + * libsupc++/Makefile.am: Use libiberty demangler. + (c_sources): Add cp-demangle.c. + * libsupc++/Makefile.in: Regenerate. + * src/Makefile.am (sources): Remove demangle.cc. + * src/Makefile.in: Regenerate. + * include/Makefile.am (bits_headers): Move demangle.h. (ext_headers): ...here. - * include/Makefile.in: Regenerate. - * include/bits/demangle.h: Move... + * include/Makefile.in: Regenerate. + * include/bits/demangle.h: Move... * include/ext/demangle.h: ...here. - * src/demangle.cc: Remove. + * src/demangle.cc: Remove. 2004-02-26 Benjamin Kosnik - - * include/bits/demangle.h: Add type template parameter to all - templates with just an Allocator template parameter. - + + * include/bits/demangle.h: Add type template parameter to all + templates with just an Allocator template parameter. + 2004-02-25 Benjamin Kosnik * include/bits/atomicity.h: New, forward declarations for __atomic_add @@ -937,7 +1416,7 @@ * config/cpu/powerpc/atomicity.h: Same. * config/cpu/s390/atomicity.h: Same. * config/cpu/sparc/atomicity.h: Same. - + * src/Makefile.am (host_sources): Add atomicity.cc. (atomicity.cc): New rule. * src/Makefile.in: Regenerate. @@ -953,8 +1432,8 @@ * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. - * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. - + * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. + 2004-02-25 Jonathan Wakely * docs/html/20_util/howto.html, docs/html/20_util/allocator.html, @@ -991,20 +1470,20 @@ * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler): Only use fputs, not write. - + 2004-02-23 Benjamin Kosnik * include/ext/malloc_allocator.h: Add operators ==, !=. * include/ext/new_allocator.h: Add operators ==, !=. * include/ext/mt_allocator.h (__mt_alloc::tune): New. (__mt_alloc::_S_get_options): New. - (__mt_alloc::_S_set_options): New. + (__mt_alloc::_S_set_options): New. (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key. (__mt_alloc::_S_no_of_bins): To _S_bin_size. Move functions out of line, simplify, format. * src/allocator.cc: Simplify explicit instantiations. * include/bits/allocator.h: Tweak. - + 2004-02-22 Paolo Carlini * include/bits/locale_facets.tcc (money_put<>::_M_insert): @@ -1021,12 +1500,12 @@ avoid multiple reallocations; fix parsing of sign component according to 22.2.6.1.2, p3. (money_get<>::do_get(long double&), - money_get<>::do_get(string_type&)): Update calls of _M_extract. + money_get<>::do_get(string_type&)): Update calls of _M_extract. * src/locale-inst.cc: Add instantiations of money_get::_M_extract and money_get::_M_extract. * testsuite/22_locale/money_get/get/char/14.cc: New. * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto. - + 2004-02-21 Mark Mitchell * libsupc++/vterminate.cc @@ -1214,7 +1693,7 @@ (__basic_file::xwrite): Move to __gnu_internal and make static. (__basic_file::xsputn): Update call. - (__basic_file::xsputn_2): Likewise. + (__basic_file::xsputn_2): Likewise. * config/io/basic_file_stdio.h (__basic_file::xwrite): Don't declare, now static. @@ -1310,7 +1789,7 @@ 2004-02-08 Richard Henderson PR libstdc++/14026 - * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust + * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust uncaughtExceptions during nested catch rethrow. * testsuite/18_support/14026.cc: New.