X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libstdc%2B%2B-v3%2FChangeLog;h=1bddfc069d9953c485fc739417c8263a2a4f6ae8;hb=5b9e810516c5991feb2b190e3a559a5c1b986011;hp=f9b1de548ba6b17d5cbde9a58a34068a48ff2887;hpb=d3ccbf20af682903b2e67667d63f2e5db4d1712d;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f9b1de548ba..1bddfc069d9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,1091 @@ +2005-04-08 Benjamin Kosnik + + * testsuite/Makefile.am: Remove libv3test.a. + * testsuite/Makefile.in: Regenerate. + * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments. + +2005-04-08 Paolo Carlini + + PR libstdc++/20909 + * include/bits/locale_facets.tcc (num_put<>::_M_insert_float): + Don't even try to group numbers like 2e20, i.e., no decimal + point, scientific notation. + * testsuite/22_locale/num_put/put/char/20909.cc: New. + * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise. + +2005-04-08 Kelley Cook + + * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER. + * acconfig.h: Delete file. + * Makefile.in, acinclude.m4, configure: Regenerate. + +2005-04-08 Kelley Cook + + * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro. + (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1, + GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2, + GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3, + GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1, + GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it. + (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment. + * acconfig.h: Delete redundant macros. + * config.h.in, configure: Regenerate. + +2005-04-08 Kelley Cook + + * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate + a subshell and if test fails, test for same functions with + leading underscore. + (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs. + * configure: Regenerate. + +2005-04-08 Danny Smith + Paolo Carlini + + PR libstdc++/20806 + * config/os/mingw32/os_defines.h: Define + _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM. + * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__. + * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()): + Use it. + (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise. + +2005-04-08 Kelley Cook + + * acconfig.h: Sort the bottom section. + * config.h.in: Regenerate. + +2005-04-08 Kelley Cook + + * acconfig.h: Remove redundant HAVE_FLOAT_H. + * config.h.in: Regenerate. + +2005-04-08 Kelley Cook + + * configure.ac: Create template for PACKAGE and VERSION. + Update comment on how to regenerate file. Update minimum + automake version to 1.9.3. + * acconfig.h: Remove PACKAGE and VERSION. + * aclocal.m4, configure, Makefile.in, po/Makefile.in, + src/Makefile.in, include/Makefile.in, libmath/Makefile.in, + testsuite/Makefile.in, config.h.in: Regenerate. + +2005-04-06 Benjamin Kosnik + + * docs/html/test.html: Update. + * testsuite/printnow.c: Remove. + * scripts/check_survey.in: Remove. + + * testsuite/abi_check.cc: To... + * testuite/testsuite_abi_check.cc: ...here. + * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to + testsuite_abi_check.cc. + + * testsuite/testsuite_hooks.h: Move character related bits to... + * testsuite/testsuite_character.h: ...here. + * testsuite/testsuite_character.cc: ... and here. + * testsuite/21_strings/basic_string/inserters_extractors/pod/ + 10081-in.cc: Use testsuite_character.h. + * testsuite/21_strings/basic_string/inserters_extractors/pod/ + 10081-out.cc: Same. + * testsuite/22_locale/numpunct/members/pod/1.cc: Same. + * testsuite/22_locale/numpunct/members/pod/2.cc: Same. + * testsuite/27_io/basic_filebuf/2.cc: Same. + * testsuite/27_io/basic_fstream/2.cc: Same. + * testsuite/27_io/basic_istream/2.cc: Same. + * testsuite/27_io/basic_istream/extractors_arithmetic/pod/ + 3983-1.cc: Same. + * testsuite/27_io/basic_istream/extractors_character/char/ + 9826.cc: Same. + * testsuite/27_io/basic_istream/extractors_character/pod/ + 3983-2.cc: Same. + * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same. + * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same. + * testsuite/27_io/basic_ostream/2.cc: Same. + * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same. + * testsuite/27_io/basic_streambuf/2.cc: Same. + * testsuite/27_io/basic_stringbuf/2.cc: Same. + * testsuite/27_io/basic_stringbuf/4.cc: Same. + * testsuite/27_io/basic_stringstream/2.cc: Same. + * testsuite/27_io/fpos/1.cc: Same. + * testsuite/ext/mt_allocator/tune-1.cc: Same. + * testsuite/ext/mt_allocator/tune-2.cc: Same. + * testsuite/ext/stdio_filebuf/char/1.cc: Same. + * testsuite/lib/libstdc++.exp (v3-build_support): Add + testsuite_character.cc. + * testsuite/Makefile.am (libv3test_a_SOURCES): Add + testsuite_character.cc. + * testsuite/Makefile.in: Regenerate. + + * configure.ac: Remove use of check_survey. + * configure: Regenerate. + * testsuite/Makefile.am: Remove check-script and + check-script-install rules. + * testsuite/Makefile.in: Regenerate. + +2005-04-06 Ulrich Weigand + + * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory" + clobber to inline assembly statement. + +2005-04-06 Kelley Cook + + * acinclude.m4 (_GLIBCXX_USE_LONG_LONG, + _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH, + _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS, + _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING, + _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL, + HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T, + HAVE_LC_MESSAGES): Use long form of AC_DEFINE ... + * acconfig.h: ... to eliminate them from here. + (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@. + * config.h.in, configure: Regenerate. + +2005-04-05 Kelley Cook + + * Makefile.am (ACLOCAL_AMFLAGS): Define. + * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro. + * configure.ac: Use it. + * acinclude.m4: Delete explicit m4_includes and sincludes. + * aclocal.m4, configure, Makefile.in, po/Makefile.in, + src/Makefile.in, include/Makefile.in, libmath/Makefile.in, + testsuite/Makefile.in: Regenerate. + +2005-04-05 Jonathan Wakely + + * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex + to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether + to destroy resources by testing for equality, not inequality. Add + empty critical sections to solve memory visibility issues. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of + explicitly listing line numbers which need to be kept in sync. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/assign/auto_ptr_neg.cc: Same. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when + -fno-exceptions. + * testsuite/tr1/2_general_utilities/memory/ + enable_shared_from_this/not_shared.cc: Add explanatory comments. + * testsuite/tr1/2_general_utilities/memory/ + enable_shared_from_this/not_shared2.cc: Same. + * testsuite/tr1/2_general_utilities/memory/ + enable_shared_from_this/not_shared3.cc: Same. + +2005-04-05 Kelley Cook + + * acconfig.h: Delete macros already AC_DEFINED. + * config.h.in: Regenerate. + +2005-04-05 Kelley Cook + + * acconfig.h (HAVE_MODF): Remove. + * linkage.m4: Check for modf. + * config.h.in, configure: Regenerate. + +2005-04-05 Kelley Cook + + * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove. + (HAVE_GETTEXT, HAVE_STPCPY): Likewise. + * config.h.in: Regenerate. + +2005-04-05 Kelley Cook + + * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro + to convert to uppercase instead of shelling out to tr. + * acconfig.h: Remove now redundant HAVE__BUILTINS_*. + * configure, config.h.in: Regenerate. + +2005-04-05 Kelley Cook + + * acconfig.h (HAVE_TANL): Correct cut-and-paste typo. + * config.h.in: Regenerate. + +2005-04-04 Mark Mitchell + + * testsuite/Makefile.am (check-local): Remove. + (curent_symbols.txt): Likewise. + (check-abi): Do not depend on current_symbols.txt. + * testsuite/Makefile.in: Regenerated. + * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt. + +2005-04-02 Douglas Gregor + + * include/tr1/tuple_iterate.h (tuple_element): Use new macro + _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin. + * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for + each iteration. + * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for + each iteration. + +2005-04-01 Douglas Gregor + + * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up + member pointers in _Mem_fn but let other function objects pass + through unchanged. + * include/tr1/functional_iterator (bind): Reduce number of bind() + overloads to two to eliminate ambiguities. Use + _Maybe_wrap_member_pointer to handle member pointers gracefully. + +2005-04-01 Mark Mitchell + + * testsuite/Makefile.am (noinst_PROGRAMS): Remove. + (site.exp): Write out the path to the baseline file. + (check-abi): Use DejaGNU. + (check-abi-verbose): Remove. + * testsuite/Makefile.in: Regenerated. + * testsuite/abi_check.cc (main): Check the return value from + compare_symbols. + * testsuite/testsuite_abi.cc (compare_symbols): Return a value. + * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype. + * testsuite/libstdc++-abi/abi.exp: New file. + +2005-03-31 Chris Jefferson + + * include/tr1/tuple: Support iteration via tuple_iterate.h. + * include/tr1/tuple_iterate.h: Iteration file for tuple. + +2005-03-31 Douglas Gregor + + * include/Makefile.am (tr1_headers): Add bind and mu repetition + headers and reference_wrapper<> forwarding header. + * include/Makefile.in: Regenerate. + * include/tr1/bind_iterate.h: Implementation of function call + operators for the function object returned from tr1::bind(). + * include/tr1/bind_repeat.h: Bind-specific repetition header, + akin to include/tr1/repeat.h. + * include/tr1/functional (_Mem_fn): Bug fix: declare result member + template for use with result_of. + (is_bind_expression): New. + (is_placeholder): New. + (_Placeholder): New. Placeholder type for bind. + (_Mu): New. Implementation detail of bind. + (_Bind, _Bind_result): New. Function objects returned by bind. + (_GLIBCXX_JOIN): New. Required to create bind placeholders. + * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind): + New. Implementation of tr1::bind. + * include/tr1/mu_iterate.h (_Mu): result template and operator() + for the _Mu helper to bind. + * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration + used by tuple header. + (ref): Ditto. + (cref): Ditto. + * include/tr1/repeat.h: Add bind-specific repetition macros. + * include/tr1/tuple: Use reference_wrapper forwarding header for + initial definitions, then include at the end, to + make the circular dependencies work. + (tie): Support zero-argument tie() function. + * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of + bind() functionality with parameters bound. + * testsuite/tr1/3_function_objects/bind/nested.cc: New test of + nested bind() expressions. + * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test + of bind() placeholders. + * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind() + with arguments bound via reference_wrapper<>. + * scripts/gen_includers.pl: Generate the repetitive part of + include/tr1/repeat.h. + * scripts/gen_bind_includers.pl: Generate the repetitive part of + include/tr1/bind_repeat.h. + +2005-03-30 Aaron W. LaFramboise + + * testsuite/Makefile.am (CXX): Use ${SHELL}. + (GLIBCXX_INCLUDES): Same. + (AM_CXXFLAGS): Same. + * testsuite/Makefile.in: Regenerate. + +2005-03-25 Mark Mitchell + + * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR + when testing an installed compiler. + + * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when + compiling support objects. + +2005-03-24 Benjamin Kosnik + + * include/tr1/memory: Forward to... + * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License. + * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h. + * include/Makefile.in: Regenerate. + * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/ + auto_ptr_neg.cc: Adjust line numbers. + +2005-03-23 Mark Mitchell + + * testsuite/Makefile.am (all-local): Do not build testsuite_files. + * testsuite/Makefile.in: Regenerated. + +2005-03-23 Benjamin Kosnik + + * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies + using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and + _GLIBCXX_USE_C99_WCHAR. + Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99 + and GLIBCXX_ENABLE_WCHAR_T. + Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in + GLIBCXX_ENABLE_C99. + Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to + GLIBCXX_CHECK_ICONV_SUPPORT. + * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use + GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T. + * crossconfig.m4: Same. + * acconfig.h: Same, adjust comments. + * config.h.in: Regenerate. + * configure: Regenerate. + * docs/html/configopts.html: Change --enable-c-mbchar to + --enable-wchar_t. + + * config/locale/gnu/c++locale_internal.h: Guard wide functions + with _GLIBCXX_USE_WCHAR_T. + * include/c_std/std_cwctype.h: Alphabetize, remove duplicates. + * include/c_std/std_cstdio.h: Spacing. + + * config/locale/gnu/c_locale.h: Tweaks for unused warnings. + * src/debug.cc: Same. + +2005-03-23 Mark Mitchell + + * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it + exists. + + * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ... + (v3-wchar_t): ... this. + (libstdc++_threads): Rename to ... + (v3-threads): ... this. + (libstdc++_test_objs): Rename to ... + (v3-test_objs): ... this. + (libstdc++_build_support): Rename to ... + (v3-build_support): ... this. + * testsuite/libstdc++-dg/normal.exp: Adjust to use new names. + + * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling + of compilers not in the build directory. + (libstdc++_wchar_t): New variable. + (libstdc++_threads): Likewise. + (libstdc++_test_objs): Likewise. + (v3_target_compile): Use libstdc++_test_objs. + (v3-list-tests): Remove. + (listdc++_build_support): New function. + * testsuite/libstdc++-dg/normal.exp: Rework to dynamically + generate list of tests. + +2005-03-21 Chris Jefferson + + PR libstdc++/20577 + * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap + to swap when the iterator's reference_type is a reference to its + value_type. + * testsuite/25_algorithms/iter_swap/20577.cc: New. + +2005-03-21 Zack Weinberg + + * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic. + (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version} + is expanded by the Makefiles, not by configure. + * fragment.am: Set gcc_version. + * libmath/Makefile.am: Likewise. + * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in + * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in + * testsuite/Makefile.in: Regenerate. + +2005-03-16 Paolo Carlini + + * testsuite/20_util/functional/binders.cc: Remove explicit + instantiations for non-weak systems. + * testsuite/20_util/memory/allocator/1.cc: Likewise. + * testsuite/20_util/memory/allocator/10378.cc: Likewise. + * testsuite/20_util/memory/allocator/10416.cc: Likewise. + * testsuite/20_util/memory/allocator/8230.cc: Likewise. + * testsuite/20_util/utility/rel_ops.cc: Likewise. + * testsuite/22_locale/ctype/is/char/2.cc: Likewise. + * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise. + * testsuite/23_containers/deque/cons/1.cc: Likewise. + * testsuite/23_containers/deque/cons/2.cc: Likewise. + * testsuite/23_containers/deque/invalidation/1.cc: Likewise. + * testsuite/23_containers/deque/invalidation/2.cc: Likewise. + * testsuite/23_containers/deque/invalidation/3.cc: Likewise. + * testsuite/23_containers/deque/invalidation/4.cc: Likewise. + * testsuite/23_containers/deque/modifiers/swap.cc: Likewise. + * testsuite/23_containers/deque/operators/1.cc: Likewise. + * testsuite/23_containers/list/capacity/1.cc: Likewise. + * testsuite/23_containers/list/cons/1.cc: Likewise. + * testsuite/23_containers/list/cons/2.cc: Likewise. + * testsuite/23_containers/list/cons/3.cc: Likewise. + * testsuite/23_containers/list/cons/4.cc: Likewise. + * testsuite/23_containers/list/cons/5.cc: Likewise. + * testsuite/23_containers/list/cons/6.cc: Likewise. + * testsuite/23_containers/list/cons/7.cc: Likewise. + * testsuite/23_containers/list/cons/8.cc: Likewise. + * testsuite/23_containers/list/cons/9.cc: Likewise. + * testsuite/23_containers/list/invalidation/1.cc: Likewise. + * testsuite/23_containers/list/invalidation/2.cc: Likewise. + * testsuite/23_containers/list/invalidation/3.cc: Likewise. + * testsuite/23_containers/list/invalidation/4.cc: Likewise. + * testsuite/23_containers/list/modifiers/1.cc: Likewise. + * testsuite/23_containers/list/modifiers/2.cc: Likewise. + * testsuite/23_containers/list/modifiers/3.cc: Likewise. + * testsuite/23_containers/list/operators/1.cc: Likewise. + * testsuite/23_containers/list/operators/2.cc: Likewise. + * testsuite/23_containers/list/operators/3.cc: Likewise. + * testsuite/23_containers/list/operators/4.cc: Likewise. + * testsuite/23_containers/map/insert/1.cc: Likewise. + * testsuite/23_containers/map/invalidation/1.cc: Likewise. + * testsuite/23_containers/map/invalidation/2.cc: Likewise. + * testsuite/23_containers/map/modifiers/swap.cc: Likewise. + * testsuite/23_containers/map/operators/1.cc: Likewise. + * testsuite/23_containers/multimap/invalidation/1.cc: Likewise. + * testsuite/23_containers/multimap/invalidation/2.cc: Likewise. + * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise. + * testsuite/23_containers/multiset/insert/1.cc: Likewise. + * testsuite/23_containers/multiset/insert/2.cc: Likewise. + * testsuite/23_containers/multiset/invalidation/1.cc: Likewise. + * testsuite/23_containers/multiset/invalidation/2.cc: Likewise. + * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise. + * testsuite/23_containers/priority_queue/members/7161.cc: Likewise. + * testsuite/23_containers/queue/members/7157.cc: Likewise. + * testsuite/23_containers/set/insert/1.cc: Likewise. + * testsuite/23_containers/set/invalidation/1.cc: Likewise. + * testsuite/23_containers/set/invalidation/2.cc: Likewise. + * testsuite/23_containers/set/modifiers/swap.cc: Likewise. + * testsuite/23_containers/stack/members/7158.cc: Likewise. + * testsuite/23_containers/vector/bool/6886.cc: Likewise. + * testsuite/23_containers/vector/capacity/1.cc: Likewise. + * testsuite/23_containers/vector/capacity/8230.cc: Likewise. + * testsuite/23_containers/vector/cons/1.cc: Likewise. + * testsuite/23_containers/vector/cons/2.cc: Likewise. + * testsuite/23_containers/vector/cons/3.cc: Likewise. + * testsuite/23_containers/vector/cons/6513.cc: Likewise. + * testsuite/23_containers/vector/element_access/1.cc: Likewise. + * testsuite/23_containers/vector/invalidation/1.cc: Likewise. + * testsuite/23_containers/vector/invalidation/2.cc: Likewise. + * testsuite/23_containers/vector/invalidation/3.cc: Likewise. + * testsuite/23_containers/vector/invalidation/4.cc: Likewise. + * testsuite/23_containers/vector/modifiers/1.cc: Likewise. + * testsuite/23_containers/vector/modifiers/2.cc: Likewise. + * testsuite/23_containers/vector/modifiers/swap.cc: Likewise. + * testsuite/23_containers/vector/resize/1.cc: Likewise. + * testsuite/24_iterators/back_insert_iterator.cc: Likewise. + * testsuite/24_iterators/front_insert_iterator.cc: Likewise. + * testsuite/24_iterators/insert_iterator.cc: Likewise. + * testsuite/24_iterators/iterator.cc: Likewise. + * testsuite/25_algorithms/copy/1.cc: Likewise. + * testsuite/25_algorithms/copy/2.cc: Likewise. + * testsuite/25_algorithms/copy/3.cc: Likewise. + * testsuite/25_algorithms/copy/4.cc: Likewise. + * testsuite/25_algorithms/equal.cc: Likewise. + * testsuite/25_algorithms/fill/1.cc: Likewise. + * testsuite/25_algorithms/fill/2.cc: Likewise. + * testsuite/25_algorithms/min_max.cc: Likewise. + * testsuite/25_algorithms/rotate.cc: Likewise. + * testsuite/25_algorithms/unique/1.cc: Likewise. + * testsuite/25_algorithms/unique/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. + * testsuite/ext/concept_checks.cc: Likewise. + * testsuite/ext/hash_map/1.cc: Likewise. + * testsuite/ext/hash_set/1.cc: Likewise. + * testsuite/ext/rope/1.cc: Likewise. + * testsuite/ext/rope/2.cc: Likewise. + * testsuite/ext/rope/3.cc: Likewise. + * testsuite/thread/pthread1.cc: Likewise. + * testsuite/thread/pthread4.cc: Likewise. + * testsuite/thread/pthread5.cc: Likewise. + * testsuite/thread/pthread6.cc: Likewise. + * testsuite/thread/pthread7-rope.cc: Likewise. + +2005-03-15 Zack Weinberg + + * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc + subdirectory. Generate #define of __GLIBCXX__ from contents of + that file. + * include/Makefile.in: Regenerate. + * include/bits/c++config: Do not define __GLIBCXX__. + +2005-03-15 Paolo Carlini + + PR libstdc++/20352 + * include/std/std_complex.h (pow(const complex<_Tp>&, + const _Tp&)): On non-c99 platforms, don't try to compute + log of complex zero. + +2005-03-10 Ben Elliston + + * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL + on GNU/Linux. + +2005-03-07 Paolo Carlini + + * include/tr1/type_traits (is_polymorphic): Don't forget + the virtual destructor, thus avoiding warnings. + * testsuite/testsuite_tr1.h (class AbstractClass, + class PolymorphicClass): Likewise. + +2005-03-07 Paolo Carlini + + * include/std/std_complex.h (pow(const complex<_Tp>&, + const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(), + __y.__rep()) or __complex_pow(__x, __y) depending on the macro + _GLIBCXX_USE_C99_COMPLEX. + +2005-03-07 Paolo Carlini + + * include/std/std_fstream.h (basic_fstream<>::open, + basic_ifstream<>::open, basic_ofstream<>::open): Implement the + resolution of DR 409 [Ready], call clear() on success. + * docs/html/ext/howto.html: Add an entry for DR 409. + * docs/html/faq/index.html (4_4): Clarify the new behavior. + * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust. + * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise. + +2005-03-05 Joseph S. Myers + + * 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 *-*-hpux11.23. + +2005-03-04 Paolo Carlini + + * include/tr1/type_traits: Add is_base_of. + * testsuite/tr1/4_metaprogramming/relationships_between_types/ + is_base_of/is_base_of.cc: New. + * testsuite/tr1/4_metaprogramming/relationships_between_types/ + is_base_of/typedefs.cc: Likewise. + +2005-03-03 Benjamin Kosnik + + * include/tr1/functional: Convert relative path. + + * docs/doxygen/user.cfg.in: Add tr1 includes. + +2005-03-03 Paolo Carlini + + * include/tr1/type_traits: Implemenet is_polymorphic. + (is_empty): Minor tweaks. + * testsuite/testsuite_tr1.h: Add test types. + * testsuite/tr1/4_metaprogramming/type_properties/ + is_polymorphic/is_polymorphic.cc: New. + * testsuite/tr1/4_metaprogramming/type_properties/ + is_polymorphic/typedefs.cc: Likewise. + * testsuite/tr1/4_metaprogramming/composite_type_traits/ + is_union_or_class/is_union_or_class.cc: Add tests. + +2005-03-02 Douglas Gregor + + * include/tr1/functional (_Has_result_type): Cleanup. + (_Result_of_impl): Handle member data pointers correctly. + (reference_wrapper): Support invocation. + Move repetition code into new file include/tr1/repeat.h. + * include/tr1/functional_iterate.h (reference_wrapper): Support + invocation. Cleanup long lines. + * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare + invocation operators. + * include/tr1/repeat.h: Code repetition header. + * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h. + * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h. + * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc: + New test of reference_wrapper invocation. + * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc: + New test of reference_wrapper typedefs and base classes. + * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup + (e-mail address). + +2005-03-02 Douglas Gregor + + * include/tr1/function (result_of): New class template. + * include/tr1/functional/iterator.h: Implementation of TR1 + result_of. + * testsuite/tr1/3_function_objects/result_of.cc: New test + +2005-03-01 Vladimir Merzliakov + + * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak. + +2005-02-28 Benjamin Kosnik + + * testsuite/tr1/2_general_utilities/memory/shared_ptr/ + cons/auto_ptr_neg.cc: Correct line numbers. + + * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1. + +2005-02-28 Jonathan Wakely + + * include/tr1/memory: Replace checked_deleter with (unchecked) + _Sp_deleter as GCC warns about delete on incomplete types anyway. + +2005-02-28 Jonathan Wakely + + * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr. + +2005-02-28 Hans-Peter Nilsson + + PR target/19065 + * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use + 'Q' constraint, not 'm'. + +2005-02-26 Earl Chew + Christopher Jefferson + + * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak + memory if _M_key_compare throws. + +2005-02-25 Paolo Carlini + + * include/tr1/type_traits: Add the trivial is_union and is_class; + add the __is_union_or_class extension. + (is_enum, is_empty): Use the latter. + * include/tr1/type_traits_fwd.h: Add __is_union_or_class. + * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting + fixes. + * testsuite/tr1/4_metaprogramming/composite_type_traits/ + is_union_or_class/is_union_or_class.cc: New. + * testsuite/tr1/4_metaprogramming/composite_type_traits/ + is_union_or_class/typedefs.cc: Likewise. + +2005-02-24 Benjamin Kosnik + + * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard + wchar_t use with _GLIBCXX_USE_WCHAR_T. + +2005-02-24 Benjamin Kosnik + + * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to + _GLIBCXX_USE_C99_COMPLEX. + * acinclude.m4: Same. + * acconfig.h: Same. + * configure: Regenerate. + * config.h.in: Same. + +2005-02-24 Paolo Carlini + + * include/tr1/functional (mem_fn): Avoid _T, badname on + Darwin. + +2005-02-23 Douglas Gregor + + * include/tr1/functional (function): New class template. + (mem_fn): New function template. + Implementations of TR1 function and mem_fn facilities. + * include/tr1/functional_iterate.h: Implementations of TR1 + function and mem_fn facilities. + * testsuite/tr1/3_function_objects/function/1.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/function/2.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/function/3.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/function/4.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/function/5.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/function/6.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/function/7.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/function/8.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/function/9.cc: New + test of std::tr1::function. + * testsuite/tr1/3_function_objects/mem_fn.cc: New test of + std::tr1::mem_fn. + +2005-02-23 Paolo Carlini + + * include/tr1/type_traits: Implement is_convertible. + * testsuite/tr1/4_metaprogramming/relationships_between_types/ + is_convertible/is_convertible.cc: New. + * testsuite/tr1/4_metaprogramming/relationships_between_types/ + is_convertible/typedefs.cc: Likewise. + * testsuite/testsuite_tr1.h: Add class DerivedType. + + * include/tr1/type_traits (is_function): Don't mistake references + to function types for function types. + * testsuite/tr1/4_metaprogramming/primary_type_categories/ + is_function/is_function.cc: Add testcase. + +2005-02-22 Benjamin Kosnik + + * scripts/check_performance: Tweaks. + + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name + output file with extension that clean rules can find. + +2005-02-22 Richard Henderson + + PR libstdc++/20091 + * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case + decrement of uncaughtExceptions for rethrow. + +2005-02-22 Paolo Carlini + + * include/tr1/functional: Fix License to GPL with exception. + * include/tr1/hashtable: Likewise. + * include/tr1/tuple: Likewise. + * include/tr1/type_traits: Likewise. + * include/tr1/type_traits_fwd.h: Likewise. + * include/tr1/unordered_map: Likewise. + * include/tr1/unordered_set: Likewise. + * include/tr1/utility: Likewise. + +2005-02-22 Paolo Carlini + + * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ + auto_ptr_neg.cc: Add missing dg-do compile directive. + * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ + auto_ptr_rvalue_neg.cc: Likewise. + * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ + shared_ptr_neg.cc: Likewise. + * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/ + auto_ptr_neg.cc: Likewise. + * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ + reset_neg.cc: Likewise. + * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ + swap_neg.cc: Likewise. + +2005-02-22 Jonathan Wakely + + * include/Makefile.am, include/Makefile.in: Fix accidental extra + change from previous commit. + +2005-02-21 Jonathan Wakely + + * include/tr1/memory: New file. + * include/Makefile.am, include/Makefile.in: Add new TR1 header. + * testsuite/tr1/2_general_utilities/memory/ + enable_shared_from_this/not_shared.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + enable_shared_from_this/not_shared2.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + enable_shared_from_this/not_shared3.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + enable_shared_from_this/shared.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + enable_shared_from_this/still_shared.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/assign/assign.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/assign/auto_ptr.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/assign/auto_ptr_neg.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/assign/shared_ptr.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/assign/shared_ptr_neg.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/comparison/cmp.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/auto_ptr.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/auto_ptr_neg.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/copy.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/default.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/pointer.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/weak_ptr.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/cons/weak_ptr_expired.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/dest/dest.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/misc/io.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/misc/swap.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/modifiers/reset.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/modifiers/reset_neg.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/modifiers/swap.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/modifiers/swap_neg.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/observers/bool_conv.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/observers/get.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/observers/unique.cc: New test. + * testsuite/tr1/2_general_utilities/memory/ + shared_ptr/observers/use_count.cc: New test. + +2005-02-21 Paolo Carlini + + * include/tr1/type_traits (is_member_function_pointer): + Remove ugly workaround for c++/19076. + +2005-02-21 Paolo Carlini + + * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't + check for this == &_S_empty_rep, it's always false, here. + +2005-02-19 Matt Austern + + * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make + hash::operator() a const member function for T a fundamental type + * include/tr1/hashtable (extract1st::operator()): Declare const. + (hash_code_base): Declare all member functions const + (hashtable::find): fix call to this->bucket_count() + (hashtable::count): Likewise. + (hashtable::equal_range): m_incr_bucket applies to iterator, not node. + * testsuite/tr1/6_containers/unordered/find/set1.cc: New test. + * testsuite/tr1/6_containers/unordered/find/map1.cc: New test. + * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test. + * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test. + +2005-02-19 Hans-Peter Nilsson + + PR libstdc++/20071 + * include/tr1/functional (hash): Wrap in #ifdef + _GLIBCXX_USE_WCHAR_T. + +2005-02-18 Richard Henderson + + PR libstdc++/10606 + * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr. + * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment + uncaughtExceptions here instead of ... + * libsupc++/eh_throw.cc (__cxa_throw) ... here. + (__cxa_rethrow): Increment uncaughtExceptions here instead of ... + * libsupc++/eh_catch.cc (__cxa_end_catch): ... here. + (__cxa_get_exception_ptr): New. + * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare. + +2005-02-18 Matt Austern + + * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix + test case to use assignment instead of == + * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test. + * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test. + * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test. + * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test. + +2005-02-18 Eric Botcazou + + * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency + on Solaris 2.6 and below. + * testsuite/thread/pthread2.cc: Likewise. + * testsuite/thread/pthread3.cc: Likewise. + * testsuite/thread/pthread4.cc: Likewise. + * testsuite/thread/pthread5.cc: Likewise. + * testsuite/thread/pthread6.cc: Likewise. + * testsuite/thread/pthread7-rope.cc: Likewise. + +2005-02-17 Matt Austern + + * include/tr1/functional (hash): New function object. + * include/tr1/hashtable: New file. + * include/tr1/unordered_set: New file. + * include/tr1/unordered_map: New file. + * include/Makefile.am: Add three new TR1 headers. + * include/Makefile.in: Likewise. + * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test. + * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test. + * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test. + * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test. + * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test. + * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test. + * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test. + * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test. + * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test. + * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test. + +2005-02-16 Paolo Carlini + + * testsuite/23_containers/set/modifiers/16728.cc: + Remove redundant include . + +2005-02-16 Paolo Carlini + + PR libstdc++/19829 + * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test + at line #66 to not access str_lit01 beyond its end. + * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise. + +2005-02-15 Paolo Carlini + Jon Grimm + + PR libstdc++/19955 + * include/bits/locale_facets.h (ctype::_M_narrow_init()): + Fix the logic setting _M_narrow_ok: first check whether the + transformation is trivial with a dflt == 0, then deal with the + special case of zero. + * testsuite/22_locale/ctype/narrow/char/19955.cc: New. + + * include/bits/locale_facets.h (ctype::_M_widen_init()): + Tweak consistently to use memcmp; minor formatting fixes. + +2005-02-15 Jakub Jelinek + + PR libstdc++/19946 + * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13 + demangler change. + * testsuite/demangle/abi_examples/02.cc (main): Likewise. + +2005-02-13 Richard Guenther + Paolo Carlini + + PR libstdc++/11706 + * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf] + for integer overloads. + + * testsuite/26_numerics/cmath/powi.cc: New. + +2005-02-11 Janis Johnson + + * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector. + * testsuite/26_numerics/complex/complex_value.cc: Ditto. + * testsuite/26_numerics/complex/pow.cc: Ditto. + + * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp. + * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg. + * testsuite/26_numerics/complex/complex_value.cc: Ditto. + * testsuite/26_numerics/complex/pow.cc: Ditto. + +2005-02-09 Mike Stump + + * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED. + +2005-02-09 Janis Johnson + + * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*. + +2005-02-08 Mark Mitchell + + * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*. + +2005-02-07 Loren J. Rittle + + * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static. + * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and + src static. + +2005-02-02 Brad Spencer + + * debug.html: Fix broken tags. + * documentation.html: Same. + +2005-02-02 Andreas Jaeger + + * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch + from 2005-01-28. + * testsuite/Makefile.am: Likewise. + * testsuite/Makefile.in: Likewise. + +2005-02-01 Paolo Carlini + + * include/bits/cpp_type_traits.h: Rename _M_type fields to + __value, except for __enable_if, _M_type -> __type, consistently + with the other traits. + * include/bits/stl_algobase.h: Tweak consistently. + * include/bits/stl_tree.h: Likewise. + * include/bits/valarray_array.h: Likewise. + * include/c_std/std_cmath.h: Likewise. + * include/debug/safe_iterator.h: Likewise. + * include/std/std_complex.h: Likewise. + +2005-01-31 Brad Spencer + + * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. + * configure: Regenerated. + +2005-01-31 Mark Mitchell + + * include/std/std_limits.h (numeric_limits::has_denorm): + Add required cast. + (numeric_limits::has_denorm): Likewise. + (numeric_limits::has_denorm): Likewise. + +2005-01-31 Paolo Carlini + Gabriel Dos Reis + + * include/bits/cpp_type_traits.h: Add types to the structs thus + making type_traits.h redundant; exploit new __truth_type and + __traitor helpers. + * include/bits/type_traits.h: Remove. + * include/Makefile.am: Update. + * include/Makefile.in: Regenerate. + * include/backward/tempbuf.h: Include cpp_type_traits.h instead. + * include/bits/basic_string.h (replace(iterator, iterator, + _InputIterator, _InputIterator), _S_construct(_InIterator, + _InIterator, const _Alloc&)): Use __is_integer instead. + * include/bits/stl_bvector.h (vector(_InputIterator, + _InputIterator, const allocator_type&), assign(_InputIterator, + _InputIterator), insert(iterator, _InputIterator, _InputIterator)): + Likewise. + * include/bits/stl_construct.h (_Destroy(_ForwardIterator, + _ForwardIterator)): Use __is_scalar. + * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator, + const allocator_type&), assign(_InputIterator, _InputIterator), + insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. + * include/bits/stl_list.h (assign(_InputIterator, _InputIterator), + insert(iterator, _InputIterator, _InputIterator)): Likewise. + * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator, + _ForwardIterator)): Use __is_scalar. + * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator, + _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator, + _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator, + _Size, const _Tp&)): Likewise. + * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator, + const allocator_type&), assign(_InputIterator, _InputIterator), + insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. + * include/debug/debug.h (__valid_range(const _InputIterator&, + const _InputIterator&)): Use __is_integer. + * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise. + * include/std/std_string.h: Include cpp_type_traits.h instead. + +2005-01-30 Paolo Carlini + + PR libstdc++/19642 + * config/locale/generic/c_locale.h (__convert_from_v): Switch only + LC_NUMERIC, and only when actually != "C". + +2005-01-28 Paolo Carlini + + * include/tr1/type_traits (is_function): Minor consistency tweaks. + +2005-01-28 Geoffrey Keating + + * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path + for the compiler. Don't set cxxflags. + (v3_target_compile): Search for libv3test.a relative to $objdir. + (lsearch_all_inline): New. + (lsearch_all_inline_not): New. + (v3-list-tests): Rewrite to not need generated files. + * testsuite/Makefile.am (IGNORE_WCHAR_T): New. + (IGNORE_THREAD): New. + (TESTS_TO_IGNORE): New. + (site.exp): Set tests_to_ignore, cxxflags. + * aclocal.m4: Regenerate. + * Makefile.in: Regenerate. + * libmath/Makefile.in: Likewise. + * libsupc++/Makefile.in: Likewise. + * po/Makefile.in: Likewise. + * src/Makefile.in: Likewise. + * testsuite/Makefile.in: Likewise. + +2005-01-28 Paolo Carlini + + * include/tr1/type_traits: Implement is_empty. + * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ + is_empty.cc: New. + * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ + typedefs.cc: Likewise. + + * include/tr1/type_traits (__is_abstract_helper): Simplify a bit. + 2005-01-28 Paolo Carlini * include/tr1/type_traits: Implement is_abstract, by exploiting the @@ -7,7 +1095,7 @@ is_abstract.cc: New. * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ typedefs.cc: Likewise. - + * include/tr1/type_traits (is_function): Rewrite, use the conversion F& -> F* instead, thus avoiding problems with abstract classes. * testsuite/tr1/4_metaprogramming/primary_type_categories/ @@ -168,7 +1256,7 @@ * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks. * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise. - * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. + * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/ @@ -211,7 +1299,7 @@ of aligned. 2005-01-23 Paolo Carlini - Andreas Jaeger + Andreas Jaeger PR libstdc++/19343 * include/bits/functexcept.h: Mark the helpers as 'noreturn'. @@ -236,7 +1324,7 @@ 2005-01-20 Benjamin Kosnik * testsuite/Makefile.am (check-compile): New. - * testsuite/Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. * scripts/check_compile_time: New. * scripts/check_performance: Tweaks. @@ -269,7 +1357,7 @@ * testsuite/performance/20_util/allocator/insert.cc: Remove bogus return, add return. * testsuite/performance/20_util/allocator/map_thread.cc: Same. - + 2005-01-17 Paolo Carlini PR libstdc++/19433 @@ -278,10 +1366,10 @@ Obtain amortized constant complexity if t is inserted right after p - not before p - as per Table 69. * testsuite/performance/23_containers/set_insert_from_sorted.cc: New. - + * testsuite/23_containers/multiset/insert/2.cc: New. * testsuite/23_containers/set/insert/1.cc: Likewise. - + * testsuite/performance/23_containers/set_create_from_sorted.cc: Simplify. @@ -390,7 +1478,7 @@ enc_traits to... * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move... * include/ext/codecvt_specializations.h: ...here. Remove - _GLIBCXX_USE___ENC_TRAITS. + _GLIBCXX_USE___ENC_TRAITS. (__enc_traits): To __encoding_state, put in __gnu_cxx namespace. (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx namespace. @@ -404,10 +1492,10 @@ uglified data members of basic_filebuf, including _M_buf, _M_buf_size, _M_mode, _M_pback_init. * include/std/std_fstream.h: Same. - + 2005-01-05 Benjamin Kosnik - * testsuite/testsuite_hooks.h: + * testsuite/testsuite_hooks.h: (copy_constructor::mark_call): Use __throw_runtime_error. (assignment_operator::mark_call): Same. * testsuite/testsuite_hooks.cc (verify_demangle): Same. @@ -428,14 +1516,14 @@ * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child process. - + 2005-01-05 Paolo Carlini * src/istream.cc (basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type), basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type)): At the end, - first check _M_gcount vs __n. + first check _M_gcount vs __n. * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise. * testsuite/27_io/basic_istream/ignore/char/4.cc: New. @@ -463,7 +1551,7 @@ * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. - * configure.ac: Check for sys/ipc.h and sys/sem.h. + * configure.ac: Check for sys/ipc.h and sys/sem.h. * config.h.in: Regenerated. * configure: Likewise. * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally @@ -506,7 +1594,7 @@ basic_istream::ignore(streamsize, int_type), basic_istream::ignore(streamsize), basic_istream::ignore(streamsize, int_type)): Avoid - _M_gcount overflows. + _M_gcount overflows. * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise; use snextc in the main loop, consistently with the specializations above.