Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. 2004-12-31  Paolo Carlini  <pcarlini@suse.de>
  2.  
  3.         * include/tr1/type_traits (is_member_function_pointer): Provide a
  4.         workaround for c++/19076, correct for functions with up to 15
  5.         arguments.
  6.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  7.         is_member_pointer/is_member_pointer.cc: Uncomment "XFAILed" tests;
  8.         add a test for variadic functions.
  9.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  10.         is_scalar/is_scalar.cc: Uncomment "XFAILed" tests.
  11.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  12.         is_enum/is_enum.cc: Likewise.
  13.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  14.         is_member_function_pointer/is_member_function_pointer.cc: Likewise;
  15.         add a test for variadic functions.
  16.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  17.         is_member_object_pointer/is_member_object_pointer.cc: Likewise.
  18.         * testsuite/tr1/4_metaprogramming/type_properties/
  19.         has_nothrow_assign/has_nothrow_assign.cc: Uncomment "XFAILed" tests.
  20.         * testsuite/tr1/4_metaprogramming/type_properties/
  21.         has_nothrow_constructor/has_nothrow_constructor.cc: Likewise.
  22.         * testsuite/tr1/4_metaprogramming/type_properties/
  23.         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
  24.         * testsuite/tr1/4_metaprogramming/type_properties/
  25.         has_trivial_assign/has_trivial_assign.cc: Likewise.
  26.         * testsuite/tr1/4_metaprogramming/type_properties/
  27.         has_trivial_constructor/has_trivial_constructor.cc: Likewise.
  28.         * testsuite/tr1/4_metaprogramming/type_properties/
  29.         has_trivial_copy/has_trivial_copy.cc: Likewise.
  30.         * testsuite/tr1/4_metaprogramming/type_properties/
  31.         has_trivial_destructor/has_trivial_destructor.cc: Likewise.
  32.         * testsuite/tr1/4_metaprogramming/type_properties/
  33.         is_pod/is_pod.cc: Likewise.
  34.  
  35. 2004-12-30  Paolo Carlini  <pcarlini@suse.de>
  36.  
  37.         * include/tr1/type_traits: Add has_trivial_copy, has_trivial_assign,
  38.         has_nothrow_copy, has_nothrow_assign.
  39.         * testsuite/testsuite_tr1.h: Add test_copy_property and
  40.         test_assign_property.
  41.         * testsuite/tr1/4_metaprogramming/type_properties/
  42.         has_nothrow_assign/has_nothrow_assign.cc: New.
  43.         * testsuite/tr1/4_metaprogramming/type_properties/
  44.         has_nothrow_assign/typedefs.cc: Likewise.
  45.         * testsuite/tr1/4_metaprogramming/type_properties/
  46.         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
  47.         * testsuite/tr1/4_metaprogramming/type_properties/
  48.         has_nothrow_copy/typedefs.cc: Likewise.
  49.         * testsuite/tr1/4_metaprogramming/type_properties/
  50.         has_trivial_assign/has_trivial_assign.cc: Likewise.
  51.         * testsuite/tr1/4_metaprogramming/type_properties/
  52.         has_trivial_assign/typedefs.cc: Likewise.
  53.         * testsuite/tr1/4_metaprogramming/type_properties/
  54.         has_trivial_copy/has_trivial_copy.cc: Likewise.
  55.         * testsuite/tr1/4_metaprogramming/type_properties/
  56.         has_trivial_copy/typedefs.cc: Likewise.
  57.  
  58. 2004-12-29  Jonathan Wakely  <redi@gcc.gnu.org>
  59.  
  60.         * include/bits/vector.tcc (erase(iterator, iterator),
  61.         operator=, _M_assign_aux(_ForwardIterator, _ForwardIterator,
  62.         forward_iterator_tag)): Qualify all calls to std::copy().
  63.  
  64. 2004-12-29  Paolo Carlini  <pcarlini@suse.de>
  65.  
  66.         Minimal fixes for -fno-exceptions.
  67.         * src/bitmap_allocator.cc (free_list::_M_get): Use
  68.         __throw_exception_again, instead of plain throw.
  69.         * testsuite/testsuite_abi.cc (get_symbol, examine_symbol,
  70.         create_symbols): Likewise.
  71.         * testsuite/testsuite_hooks.cc (verify_demangle,
  72.         run_tests_wrapped_locale, run_tests_wrapped_env): Likewise.
  73.         (try_named_locale): Wrap the whole catch in __EXCEPTIONS.
  74.  
  75. 2004-12-29  Paolo Carlini  <pcarlini@suse.de>
  76.  
  77.         * include/tr1/type_traits: Add has_nothrow_constructor.
  78.         * testsuite/tr1/4_metaprogramming/type_properties/
  79.         has_nothrow_constructor/has_nothrow_constructor.cc: New.
  80.         * testsuite/tr1/4_metaprogramming/type_properties/
  81.         has_nothrow_constructor/typedefs.cc: Likewise.
  82.  
  83. 2004-12-28  David Edelsohn  <edelsohn@gnu.org>
  84.  
  85.         * configure.host (aix4*|aix5*): Add atomic_word_dir.
  86.         * config/os/aix/atomic_word.h: New file.
  87.  
  88. 2004-12-27  Jason Merrill  <jason@redhat.com>
  89.  
  90.         Add memory barriers to the double-checked locking used for static
  91.         initialization.
  92.         * libsupc++/guard.cc (__test_and_acquire): Define default.
  93.         (_GLIBCXX_GUARD_TEST_AND_ACQUIRE, __set_and_release)
  94.         (_GLIBCXX_GUARD_SET_AND_RELEASE): Likewise.
  95.         (recursion_push, recursion_pop): New abstraction functions.
  96.         (__cxa_guard_acquire): Use _GLIBCXX_GUARD_TEST_AND_ACQUIRE.
  97.         (__cxa_guard_release): Use _GLIBCXX_GUARD_SET_AND_RELEASE.
  98.         * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_TEST): Rename
  99.         from _GLIBCXX_GUARD_ACQUIRE and reverse sense.
  100.         (_GLIBCXX_GUARD_SET): Rename from _GLIBCXX_GUARD_RELEASE.
  101.         * config/cpu/arm/cxxabi_tweaks.h: Likewise.
  102.         * config/cpu/alpha/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER)
  103.         (_GLIBCXX_WRITE_MEM_BARRIER): Define.
  104.         * config/cpu/powerpc/atomic_word.h: Likewise.
  105.         * config/cpu/sparc/atomic_word.h: Likewise.
  106.         * config/cpu/generic/atomic_word.h: Define them, commented out.
  107.         * include/bits/atomicity.h: Define defaults.
  108.         * config/cpu/ia64/atomic_word.h (__test_and_acquire)
  109.         (__set_and_release): New inlines.
  110.         (_GLIBCXX_GUARD_TEST_AND_ACQUIRE): Define.
  111.         (_GLIBCXX_GUARD_SET_AND_RELEASE): Define.
  112.  
  113.         * libsupc++/guard.cc (acquire_1): Use __builtin_trap instead of
  114.         abort();
  115.  
  116. 2004-12-27  Paolo Carlini  <pcarlini@suse.de>
  117.  
  118.         * include/tr1/type_traits: Rework the _DEFINE_SPEC* macros.
  119.  
  120. 2004-12-26  Paolo Carlini  <pcarlini@suse.de>
  121.  
  122.         * include/tr1/type_traits (__is_enum_helper): Slightly simplify,
  123.         make __convert non template.
  124.  
  125. 2004-12-26  Paolo Carlini  <pcarlini@suse.de>
  126.  
  127.         * include/tr1/type_traits: Implement is_pod, has_trivial_constructor,
  128.         and has_trivial_destructor.
  129.         * testsuite/tr1/4_metaprogramming/type_properties/
  130.         has_trivial_constructor/has_trivial_constructor.cc: New.
  131.         * testsuite/tr1/4_metaprogramming/type_properties/
  132.         has_trivial_constructor/typedefs.cc: Likewise.
  133.         * testsuite/tr1/4_metaprogramming/type_properties/
  134.         has_trivial_destructor/has_trivial_destructor.cc: Likewise.
  135.         * testsuite/tr1/4_metaprogramming/type_properties/
  136.         has_trivial_destructor/typedefs.cc: Likewise.
  137.         * testsuite/tr1/4_metaprogramming/type_properties/
  138.         is_pod/is_pod.cc: Likewise.
  139.         * testsuite/tr1/4_metaprogramming/type_properties/
  140.         is_pod/typedefs.cc: Likewise.
  141.  
  142. 2004-12-25  Paolo Carlini  <pcarlini@suse.de>
  143.  
  144.         * include/tr1/type_traits (is_enum): Minor tweak.
  145.  
  146. 2004-12-25  Paolo Carlini  <pcarlini@suse.de>
  147.  
  148.         * include/tr1/type_traits: Implement is_enum (usual caveats about
  149.         the nasty consequences of c++/19076...).
  150.         * testsuite/testsuite_tr1.h: Add ConvType.
  151.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  152.         is_scalar/is_scalar.cc: New.
  153.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  154.         is_scalar/typedefs.cc: Likewise.
  155.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  156.         is_enum/is_enum.cc: Likewise.
  157.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  158.         is_enum/typedefs.cc: Likewise.
  159.  
  160. 2004-12-24  Paolo Carlini  <pcarlini@suse.de>
  161.  
  162.         * include/tr1/type_traits: Add missing undef.
  163.  
  164. 2004-12-24  Paolo Carlini  <pcarlini@suse.de>
  165.  
  166.         * include/tr1/type_traits: Implement is_member_object_pointer,
  167.         is_member_function_pointer. N.B. Due to c++/19076, the latter
  168.         doesn't really work at the moment (a rather ugly work around
  169.         will be provided in case the front-end bug doesn't get fixed
  170.         soon); generalize and extend the _DEFINE_SPEC macros.
  171.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  172.         is_member_pointer/is_member_pointer.cc: New.
  173.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  174.         is_member_pointer/typedefs.cc: Likewise.
  175.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  176.         is_member_function_pointer/is_member_function_pointer.cc: Likewise.
  177.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  178.         is_member_function_pointer/typedefs.cc: Likewise.
  179.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  180.         is_member_object_pointer/is_member_object_pointer.cc: Likewise.
  181.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  182.         is_member_object_pointer/typedefs.cc: Likewise.
  183.  
  184. 2004-12-22  Paolo Carlini  <pcarlini@suse.de>
  185.  
  186.         * include/tr1/type_traits_fwd.h: New, forward declarations.
  187.         * include/tr1/type_traits: Clean-up.
  188.         * include/Makefile.am: Add.
  189.         * include/Makefile.in: Regenerate.
  190.  
  191. 2004-12-20  Paolo Carlini  <pcarlini@suse.de>
  192.  
  193.         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: New.
  194.         * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise.
  195.         * testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise.
  196.         * testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise.
  197.         * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
  198.         * testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise.
  199.         * testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise.
  200.         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise.
  201.         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise.
  202.         * testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise.
  203.         * testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise.
  204.         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
  205.         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
  206.         * testsuite/27_io/basic_istream/seekg/wchar_t/
  207.         exceptions_badbit_throw.cc: Likewise.
  208.         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
  209.         * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
  210.         * testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise.
  211.         * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
  212.         * testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise.
  213.         * testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise.
  214.         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
  215.         * testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise.
  216.         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
  217.         * testsuite/27_io/basic_istream/tellg/wchar_t/
  218.         exceptions_badbit_throw.cc: Likewise.
  219.         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
  220.         * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
  221.         * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
  222.  
  223.         * testsuite/data/wistream_extractor_other-1.tst: New.
  224.         * testsuite/data/wistream_extractor_other-1.txt: Likewise.
  225.         * testsuite/data/wistream_extractor_other-2.tst: Likewise.
  226.         * testsuite/data/wistream_seeks-1.tst: Likewise.
  227.         * testsuite/data/wistream_seeks-1.txt: Likewise.
  228.         * testsuite/data/wistream_unformatted-1.tst: Likewise.
  229.         * testsuite/data/wistream_unformatted-1.txt: Likewise.
  230.  
  231.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc:
  232.         Use wistream_extractor_other-1.txt.
  233.  
  234.         * testsuite/27_io/basic_istream/peek/char/6414.cc: Minor clean-up.
  235.         * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
  236.         * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
  237.         * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
  238.  
  239. 2004-12-19  Paolo Carlini  <pcarlini@suse.de>
  240.  
  241.         * testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: New.
  242.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  243.         01.cc: Likewise.
  244.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  245.         02.cc: Likewise.
  246.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  247.         03.cc: Likewise.
  248.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  249.         06.cc: Likewise.
  250.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  251.         07.cc: Likewise.
  252.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  253.         08.cc: Likewise.
  254.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  255.         09.cc: Likewise.
  256.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  257.         10.cc: Likewise.
  258.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  259.         11.cc: Likewise.
  260.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  261.         12.cc: Likewise.
  262.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  263.         13.cc: Likewise.
  264.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  265.         9555-ia.cc: Likewise.
  266.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  267.         exceptions_badbit_throw.cc: Likewise.
  268.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  269.         exceptions_failbit.cc: Likewise.
  270.         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
  271.         exceptions_failbit_throw.cc: Likewise.
  272.         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
  273.         1.cc: Likewise.
  274.         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
  275.         11095-i.cc: Likewise.
  276.         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
  277.         2.cc: Likewise.
  278.         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
  279.         3.cc: Likewise.
  280.         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
  281.         9555-ic.cc: Likewise.
  282.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  283.         1.cc: Likewise.
  284.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  285.         2.cc: Likewise.
  286.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  287.         3.cc: Likewise.
  288.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  289.         9318-in.cc: Likewise.
  290.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  291.         9424-in.cc: Likewise.
  292.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  293.         9555-io.cc: Likewise.
  294.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  295.         error_failbit.cc: Likewise.
  296.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  297.         exceptions_badbit_throw.cc: Likewise.
  298.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  299.         exceptions_failbit_throw.cc: Likewise.
  300.         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
  301.         exceptions_null.cc: Likewise.
  302.  
  303.         * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Minor
  304.         tweaks.
  305.  
  306.         * testsuite/testsuite_io.h (struct fail_buf): Fix type of
  307.         dummy return values.
  308.  
  309. 2004-12-19  Dhruv Matani  <dhruvbird@gmx.net>
  310.  
  311.         * include/ext/bitmap_allocator.h: Make doxygen style comments for
  312.         internal functions and classes.
  313.  
  314. 2004-12-19  Dhruv Matani  <dhruvbird@gmx.net>
  315.  
  316.         * docs/html/20_util/allocator.html: Correct link.
  317.         * docs/html/ext/ballocator_doc.txt: Remove.
  318.         * docs/html/ext/ballocator_doc.html: Add.
  319.  
  320. 2004-12-16  Danny Smith  <dannysmith@users.sourceforge.net>
  321.  
  322.         PR target/18997
  323.         * config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK):
  324.         Define to 0 for __CYGWIN__.
  325.  
  326. 2004-12-16  Paolo Carlini  <pcarlini@suse.de>
  327.  
  328.         * include/tr1/type_traits: Implement add_const, add_volatile,
  329.         and add_cv.
  330.         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
  331.         add_const.cc: New.
  332.         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
  333.         add_cv.cc: Likewise.
  334.         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
  335.         add_volatile.cc: Likewise.
  336.  
  337. 2004-12-16  Paolo Carlini  <pcarlini@suse.de>
  338.  
  339.         * include/tr1/type_traits: Implement is_function.
  340.         (struct __sfinae_types, struct __is_function_helper): New.
  341.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  342.         is_object/is_object.cc: New.
  343.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  344.         is_object/typedefs.cc: Likewise.
  345.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  346.         is_function/is_function.cc: Likewise.
  347.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  348.         is_function/typedefs.cc: Likewise.
  349.  
  350. 2004-12-13  Paolo Carlini  <pcarlini@suse.de>
  351.  
  352.         * include/tr1/type_traits (extent): Minor tweak (i.e., public).
  353.  
  354. 2004-12-12  Paolo Carlini  <pcarlini@suse.de>
  355.  
  356.         * include/tr1/type_traits: Minor tweak.
  357.         * testsuite/tr1/4_metaprogramming/type_properties/extent/
  358.         typedefs.cc: Fix date.
  359.  
  360. 2004-12-12  Paolo Carlini  <pcarlini@suse.de>
  361.  
  362.         * include/tr1/type_traits: Implement extent.
  363.         * testsuite/tr1/4_metaprogramming/type_properties/extent/
  364.         extent.cc: New.
  365.         * testsuite/tr1/4_metaprogramming/type_properties/extent/
  366.         typedefs.cc: Likewise.
  367.  
  368. 2004-12-12  Paolo Carlini  <pcarlini@suse.de>
  369.  
  370.         * include/tr1/type_traits: Implement is_pointer, remove_pointer,
  371.         and add_pointer; reformat.
  372.         (_DEFINE_PRIMARY_SPEC_HELPER, _DEFINE_PRIMARY_SPEC): Generalize
  373.         and rename to _DEFINE_SPEC_HELPER and _DEFINE_SPEC; update uses.
  374.         * testsuite/tr1/4_metaprogramming/pointer_modifications/
  375.         add_pointer.cc: New.
  376.         * testsuite/tr1/4_metaprogramming/pointer_modifications/
  377.         remove_pointer.cc: Likewise.
  378.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  379.         is_pointer/is_pointer.cc: Likewise.
  380.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  381.         is_pointer/typedefs.cc: Likewise.
  382.  
  383.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  384.         is_reference/is_reference.cc: Slightly tweak consistently.
  385.  
  386. 2004-12-11  Paolo Carlini  <pcarlini@suse.de>
  387.  
  388.         * include/tr1/type_traits: Implement rank.
  389.         * testsuite/testsuite_tr1.h (test_property): Generalize to any
  390.         value_type.
  391.         (test_category, test_relationship): Slightly tweak consistently.
  392.         * testsuite/tr1/4_metaprogramming/type_properties/rank/
  393.         rank.cc: New.
  394.         * testsuite/tr1/4_metaprogramming/type_properties/rank/
  395.         typedefs.cc: Likewise.
  396.  
  397.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  398.         is_compound/is_compound.cc: New.
  399.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  400.         is_compound/typedefs.cc: Likewise.
  401.  
  402.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  403.         is_arithmetic/is_arithmetic.cc: Tweak consistently with the
  404.         testsuite_tr1.h changes.
  405.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  406.         is_fundamental/is_fundamental.cc: Likewise.
  407.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  408.         is_array/is_array.cc: Likewise.
  409.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  410.         is_floating_point/is_floating_point.cc: Likewise.
  411.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  412.         is_integral/is_integral.cc: Likewise.
  413.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  414.         is_reference/is_reference.cc: Likewise.
  415.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  416.         is_void/is_void.cc: Likewise.
  417.         * testsuite/tr1/4_metaprogramming/relationships_between_types/
  418.         is_same/is_same.cc: Likewise.
  419.         * testsuite/tr1/4_metaprogramming/type_properties/is_const/
  420.         is_const.cc: Likewise.
  421.         * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/
  422.         is_volatile.cc: Likewise.
  423.  
  424. 2004-12-10  Paolo Carlini  <pcarlini@suse.de>
  425.  
  426.         * include/tr1/type_traits: Implement remove_const, remove_volatile,
  427.         and remove_cv.
  428.         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
  429.         remove_const.cc: New.
  430.         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
  431.         remove_cv.cc: Likewise.
  432.         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
  433.         remove_volatile.cc: Likewise.
  434.  
  435.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  436.         is_array/is_array.cc: Slightly tweak consistently, remove typedefs,
  437.         add a few tests.
  438.  
  439. 2004-12-09  Paolo Carlini  <pcarlini@suse.de>
  440.  
  441.         * include/tr1/type_traits: Implement remove_extent and
  442.         remove_all_extents.
  443.         * testsuite/tr1/4_metaprogramming/array_modifications/
  444.         remove_all_extents.cc: New.
  445.         * testsuite/tr1/4_metaprogramming/array_modifications/
  446.         remove_extent.cc: Likewise.
  447.  
  448. 2004-12-08  Paolo Carlini  <pcarlini@suse.de>
  449.  
  450.         * include/tr1/type_traits: Implement is_same, add_reference and
  451.         remove_reference.
  452.         * testsuite/testsuite_tr1.h (test_relationship): New.
  453.         * testsuite/tr1/4_metaprogramming/reference_modifications/
  454.         add_reference.cc: New.
  455.         * testsuite/tr1/4_metaprogramming/reference_modifications/
  456.         remove_reference.cc: Likewise.
  457.         * testsuite/tr1/4_metaprogramming/relationships_between_types/
  458.         is_same/is_same.cc: Likewise.
  459.         * testsuite/tr1/4_metaprogramming/relationships_between_types/
  460.         is_same/typedefs.cc: Likewise.
  461.  
  462.         * testsuite/tr1/4_metaprogramming/type_properties/is_const/
  463.         is_const.cc: Minor tweaks.
  464.         * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/
  465.         is_volatile.cc: Likewise.
  466.  
  467. 2004-12-08  David Edelsohn  <edelsohn@gnu.org>
  468.  
  469.         * Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS and
  470.         PICFLAG.
  471.         * Makefile.in: Regenerated.
  472.  
  473. 2004-12-07  Paolo Carlini  <pcarlini@suse.de>
  474.  
  475.         * include/tr1/type_traits: Implement is_const and is_volatile.
  476.         * testsuite/testsuite_tr1.h (test_property): New.
  477.         * testsuite/tr1/4_metaprogramming/type_properties/
  478.         is_const/is_const.c: New.
  479.         * testsuite/tr1/4_metaprogramming/type_properties/
  480.         is_const/typedefs.cc: Likewise.
  481.         * testsuite/tr1/4_metaprogramming/type_properties/
  482.         is_volatile/is_volatile.cc: Likewise.
  483.         * testsuite/tr1/4_metaprogramming/type_properties/
  484.         is_volatile/typedefs.cc: Likewise.
  485.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  486.         is_arithmetic/is_arithmetic.cc: Slightly tweak to use ClassType
  487.         from testsuite_tr1.h.
  488.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  489.         is_fundamental/is_fundamental.cc: Likewise.
  490.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  491.         is_array/is_array.cc: Likewise.
  492.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  493.         is_floating_point/is_floating_point.cc: Likewise.
  494.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  495.         is_integral/is_integral.cc: Likewise.
  496.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  497.         is_reference/is_reference.cc: Likewise.
  498.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  499.         is_void/is_void.cc: Likewise.
  500.  
  501. 2004-12-06  Paolo Carlini  <pcarlini@suse.de>
  502.  
  503.         * include/tr1/type_traits: Implement is_reference.
  504.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  505.         is_reference/is_reference.cc: New.
  506.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  507.         is_reference/typedefs.cc: Likewise.
  508.  
  509. 2004-12-05  Paolo Carlini  <pcarlini@suse.de>
  510.  
  511.         PR libstdc++/18837
  512.         * testsuite/testsuite_performance.h: Fix mallinfo macros for
  513.         hpux.
  514.  
  515. 2004-12-04  Richard Henderson  <rth@redhat.com>
  516.  
  517.         * testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha.
  518.  
  519. 2004-12-04  Richard Henderson  <rth@redhat.com>
  520.  
  521.         * include/ext/malloc_allocator.h: Include cstdlib.
  522.  
  523. 2004-12-04  Paolo Carlini  <pcarlini@suse.de>
  524.  
  525.         * include/tr1/type_traits: New.
  526.         * include/Makefile.am: Add.
  527.         * include/Makefile.in: Regenerate.
  528.         * testsuite/testsuite_tr1.h: New.
  529.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  530.         is_arithmetic/is_arithmetic.cc: New.
  531.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  532.         is_arithmetic/typedefs.cc: Likewise.
  533.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  534.         is_fundamental/is_fundamental.cc: Likewise.
  535.         * testsuite/tr1/4_metaprogramming/composite_type_traits/
  536.         is_fundamental/typedefs.cc: Likewise.
  537.         * testsuite/tr1/4_metaprogramming/helper_classes/
  538.         true_false_type.cc: Likewise.
  539.         * testsuite/tr1/4_metaprogramming/helper_classes/
  540.         true_false_type_typedefs.cc: Likewise.
  541.         * testsuite/tr1/4_metaprogramming/helper_classes/
  542.         typedefs.cc: Likewise.
  543.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  544.         is_array/is_array.cc: Likewise.
  545.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  546.         is_array/typedefs.cc: Likewise.
  547.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  548.         is_floating_point/is_floating_point.cc: Likewise.
  549.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  550.         is_floating_point/typedefs.cc: Likewise.
  551.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  552.         is_integral/is_integral.cc: Likewise.
  553.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  554.         is_integral/typedefs.cc: Likewise.
  555.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  556.         is_void/is_void.cc: Likewise.
  557.         * testsuite/tr1/4_metaprogramming/primary_type_categories/
  558.         is_void/typedefs.cc: Likewise.
  559.  
  560. 2004-12-02  Paolo Carlini  <pcarlini@suse.de>
  561.  
  562.         * testsuite/testsuite_io.h (class sync_buf): New, templatized
  563.         version of sync_streambuf; add typedefs for streambuf/wstreambuf.
  564.         (class fail_buf): Likewise, for fail_streambuf.
  565.         (class fail_num_get): Templatize and add char/wchar_t typedefs.
  566.         (class fail_num_put): Likewise.
  567.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
  568.         exceptions_badbit_throw.cc: Use the latter.
  569.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
  570.         exceptions_failbit_throw.cc: Likewise.
  571.         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
  572.         exceptions_badbit_throw.cc: Likewise.
  573.         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
  574.         exceptions_failbit_throw.cc: Likewise.
  575.  
  576. 2004-12-01  Paolo Carlini  <pcarlini@suse.de>
  577.  
  578.         * testsuite/27_io/basic_istream/get/wchar_t/1.cc: New.
  579.         * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise.
  580.         * testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise.
  581.         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
  582.         * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
  583.         * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise.
  584.         * testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise.
  585.         * testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise.
  586.  
  587. 2004-11-29  Paolo Carlini  <pcarlini@suse.de>
  588.  
  589.         * testsuite/21_strings/basic_string/capacity/char/18654.cc: Use
  590.         better names.
  591.         * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Same.
  592.  
  593. 2004-11-29  Paolo Carlini  <pcarlini@suse.de>
  594.  
  595.         PR libstdc++/18654
  596.         * include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
  597.         do not round to pagesize.
  598.         * testsuite/21_strings/basic_string/capacity/char/18654.cc: New.
  599.         * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New.
  600.  
  601. 2004-11-27  Paolo Carlini  <pcarlini@suse.de>
  602.  
  603.         PR libstdc++/18690
  604.         * include/tr1/utility (get(pair), get(const pair)): Change
  605.         occurrences of _I to _Int.
  606.  
  607. 2004-11-27  Paolo Carlini  <pcarlini@suse.de>
  608.  
  609.         * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo.
  610.         * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise.
  611.  
  612.         * testsuite/22_locale/time_put/put/char/17038.cc: Use VERIFY.
  613.         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
  614.         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise.
  615.         * testsuite/27_io/basic_ios/exceptions/char/2.cc: Likewise.
  616.  
  617. 2004-11-26  Paolo Carlini  <pcarlini@suse.de>
  618.  
  619.         DR 243. get and getline when sentry reports failure [WP]
  620.         * include/bits/istream.tcc (istream<>::get, istream<>::getline):
  621.         Store a null character only if the array has a non-zero size.
  622.         * src/istream.cc (istream<char>::getline, istream<wchar_t>::getline):
  623.         Likewise.
  624.         * testsuite/27_io/basic_istream/get/char/3.cc: New.
  625.         * testsuite/27_io/basic_istream/getline/char/6.cc: New.
  626.         * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New.
  627.         * docs/html/ext/howto.html: Add an entry for DR 243.
  628.  
  629.         * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New.
  630.         * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New.
  631.         * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New.
  632.         * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New.
  633.         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New.
  634.  
  635. 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
  636.  
  637.         * configure: Regenerate for libtool change.
  638.  
  639. 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
  640.  
  641.         * Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
  642.         * include/Makefile.in: Likewise.
  643.         * libmath/Makefile.in: Likewise.
  644.         * libsupc++/Makefile.in: Likewise.
  645.         * po/Makefile.in: Likewise.
  646.         * src/Makefile.in: Likewise.
  647.         * testsuite/Makefile.in: Likewise.
  648.  
  649. 2004-11-24  Jonathan Wakely  <redi@kayari.org>
  650.  
  651.         * docs/html/ext/howto.html: Fix incorrect link.
  652.         * docs/html/documentation.html: Regenerate.
  653.  
  654. 2004-11-24  Nathan Myers  <ncm@cantrip.org>
  655.  
  656.         * include/bits/streambuf_iterator.h
  657.         (istreambuf_iterator<>::operator++(), operator++(int)): Don't
  658.         check unnecessarily the return value of _M_sbuf->sbumpc().
  659.  
  660. 2004-11-24  Benjamin Kosnik  <bkoz@redhat.com>
  661.  
  662.         * include/Makefile.am (tr1_headers): Add utility, functional.
  663.         * include/Makefile.in: Regenerate.
  664.  
  665. 2004-11-24  Chris Jefferson  <chris@bubblescope.net>
  666.  
  667.         * include/tr1/tuple(operator!=): Change operator
  668.         definition to match (draft) technical report.
  669.         (operator>): Same.
  670.         (operator<=): Same.
  671.         (operator>=): Same.
  672.         (ref): Move to include/tr1/functional.
  673.         (cref): Same.
  674.         (tuple_size<pair>): Move to include/tr1/utility.
  675.         (tuple_element<,pair>): Same.
  676.         * include/tr1/functional: New.
  677.         * include/tr1/utility: New.
  678.         * testsuite/tr1/6_container/utility/pair.cc: New.
  679.  
  680. 2004-11-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
  681.  
  682.         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
  683.         (do_out, do_unshift, do_in): Remove redundant typedef.
  684.  
  685. 2004-11-23  Chris Jefferson  <chris@bubblescope.net>
  686.  
  687.         * testsuite/testsuite_iterators.h: New.
  688.         * testsuite/25_algorithms/search_n/iterator.cc: New.
  689.         * testsuite/performance/25_algorithms/search_n.cc: New.
  690.  
  691. 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
  692.  
  693.         * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp.
  694.  
  695. 2004-11-23  Benjamin Kosnik  <bkoz@redhat.com>
  696.  
  697.         * docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
  698.         * docs/doxygen/run_doxygen: Renames for std::tr1.
  699.         * docs/doxygen/user.cfg.in: Add cxxabi.h.
  700.         * include/bits/*.tcc: Add file markup.
  701.         * include/bits/allocator.h: Add link to allocator.html.
  702.         * include/bits/atomicity.h: Add file markup.
  703.         * include/bits/concurrence.h: Same.
  704.         * include/bits/functexcept.h: Same.
  705.         * include/ext*: Adjust file markup, remove GCC3 bits.
  706.         * include/std/*: Adjust file markup, remove bits about renamed files.
  707.         * libsupc++/cxxabi.h: Add file markup.
  708.         * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.
  709.  
  710. 2004-11-22  Benjamin Kosnik  <bkoz@redhat.com>
  711.  
  712.         * include/bits/locale_facets.h (isspace, isprint, isupper,
  713.         islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
  714.         toupper, tolower): Add doxygen markup.
  715.         (codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
  716.         time_get_byname, time_put_byname, moneypunct_byname,
  717.         messages_byname): Same.
  718.         * include/std/std_fstream.h: Remove superfluous markup.
  719.         * include/std/std_sstream.h: Same.
  720.         * include/std/std_streambuf.h: Same.
  721.         * include/ext/enc_filebuf.h: Adjust markup.
  722.         * include/ext/stdio_filebuf.h: Same.
  723.         * include/ext/stdio_sync_filebuf.h: Same.
  724.         * include/bits/codecvt.h: Same.
  725.         * config/os/gnu-linux/ctype_base.h: Same.
  726.         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
  727.         * include/tr1/array: Add markup.
  728.         * include/tr1/tuple: Same.
  729.  
  730.         * docs/doxygen/run_doxygen: Print arguments.
  731.  
  732.         * docs/doxygen/user.cfg.in: Tweaks.
  733.  
  734. 2004-11-19  Jonathan Wakely  <redi@gcc.gnu.org>
  735.  
  736.         * include/bits/basic_string.h, include/bits/locale_classes.h,
  737.         include/bits/valarray_after.h, include/bits/valarray_before.h,
  738.         include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h,
  739.         include/std/std_functional.h, include/std/std_memory.h,
  740.         include/std/std_numeric.h: Doxygen fixes.
  741.  
  742. 2004-11-19  Paolo Carlini  <pcarlini@suse.de>
  743.  
  744.         * testsuite/22_locale/time_get/get_date/char/1.cc: In the checks
  745.         use, more correctly (and consistently with other testcases) the
  746.         return value of the facet (the iterator arguments are by value).
  747.         * testsuite/22_locale/time_get/get_date/char/12791.cc: Likewise.
  748.         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
  749.         * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: Likewise.
  750.         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
  751.         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
  752.         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
  753.         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
  754.         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
  755.         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
  756.         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
  757.         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
  758.  
  759. 2004-11-19  Jonathan Wakely  <redi@gcc.gnu.org>
  760.  
  761.         * Makefile.am (doxygen, doxygen-maint, doxygen-man): Remove extra '$'
  762.         from host_alias variable.
  763.         * Makefile.in: Regenerate.
  764.  
  765. 2004-11-19  Chris Jefferson  <chris@bubblescope.net>
  766.  
  767.         * include/bits/stl_list.h (list::back, list::back const):
  768.         Don't decrement temporary.
  769.  
  770. 2004-11-19  Paolo Carlini  <pcarlini@suse.de>
  771.  
  772.         * include/bits/stl_deque.h (deque::front, deque::front const,
  773.         deque::back, deque::back const): Slightly tweak for stylistic
  774.         consistency.
  775.  
  776. 2004-11-18  Paolo Carlini  <pcarlini@suse.de>
  777.  
  778.         * testsuite/26_numerics/numeric/sum_diff.cc: Use VERIFY.
  779.         * testsuite/ext/array_allocator/1.cc: Likewise.
  780.         * testsuite/ext/array_allocator/2.cc: Likewise.
  781.         * testsuite/ext/array_allocator/3.cc: Likewise.
  782.         * testsuite/ext/enc_filebuf/char/13598.cc: Likewise.
  783.  
  784. 2004-11-18  Paolo Carlini  <pcarlini@suse.de>
  785.  
  786.         * include/bits/locale_facets.tcc (num_get<>::do_get(void*&)):
  787.         If the failbit is set, don't set it again.
  788.         (money_get<>::_M_extract): Minor stylistic tweak: consistently
  789.         with the other functions, take care of eofbit at the end.
  790.  
  791. 2004-11-18  Paolo Carlini  <pcarlini@suse.de>
  792.  
  793.         DR 434. bitset::to_string() hard to use [Ready]
  794.         * include/std/std_bitset.h (to_string): Add three overloads, taking
  795.         fewer template arguments.
  796.         * docs/html/ext/howto.html: Add an entry for DR 434.
  797.         * testsuite/23_containers/bitset/to_string/1.cc: New.
  798.  
  799. 2004-11-17  Paolo Carlini  <pcarlini@suse.de>
  800.  
  801.         * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&,
  802.         _CharT)): Remove temporary kludge for libstdc++/15002.
  803.         * include/std/std_streambuf.h (class basic_streambuf): Declare
  804.         getline(basic_istream<>&, basic_string<>&, _CharT) as friend.
  805.         * include/bits/basic_string.h (getline(basic_istream<>&,
  806.         basic_string<>&, _CharT)): Declare optimized specializations for
  807.         char and wchar_t, using protected members of basic_streambuf.
  808.         * src/istream.cc: Define the latter.
  809.  
  810. 2004-11-16  Jonathan Wakely  <redi@gcc.gnu.org>
  811.  
  812.         * docs/html/19_diagnostics/howto.html: Document change from
  813.         _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4.
  814.  
  815. 2004-11-16  Matthias Klose  <doko@debian.org>
  816.  
  817.         * docs/doxygen/user.cfg.in: Set HAVE_DOT to NO.
  818.  
  819. 2004-11-16  Matthias Klose  <doko@debian.org>
  820.  
  821.         * Makefile.am (doxygen, doxygen-maint, doxygen-man): Use host_alias
  822.         instead of build_alias.
  823.         * docs/doxygen/run_doxygen: Likewise.
  824.         * docs/doxygen/user.cfg.in: Likewise.
  825.         * Makefile.in: Regenerate.
  826.  
  827. 2004-11-15  Paolo Carlini  <pcarlini@suse.de>
  828.  
  829.         * include/bits/streambuf.tcc (__copy_streambufs): Provide
  830.         a generic version of the function, not using the protected
  831.         members of basic_streambuf.
  832.         * include/std/std_streambuf.h (__copy_streambufs): Declare
  833.         optimized specializations for char and wchar_t.
  834.         * src/streambuf.cc: New file, define the latter.
  835.         * src/Makefile.am: Add.
  836.         * src/Makefile.in: Regenerate.
  837.  
  838. 2004-11-15  Matthias Klose  <doko@debian.org>
  839.  
  840.         * docs/doxygen/run_doxygen: Add --build_alias option,
  841.         substitute it in docs/doxygen/user.cfg.in.
  842.         * docs/doxygen/user.cfg.in: Use build_alias.
  843.         * Makefile.am: Pass --build_alias to run_doxygen
  844.         * Makefile.in: Regenerate.
  845.  
  846. 2004-11-15  Benjamin Kosnik  <bkoz@redhat.com>
  847.  
  848.         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4.
  849.  
  850. 2004-11-15  Paolo Carlini  <pcarlini@suse.de>
  851.  
  852.         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33.
  853.  
  854. 2004-11-14  Paolo Carlini  <pcarlini@suse.de>
  855.  
  856.         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
  857.         Slightly tweak for clarity (also leads to measurably better code).
  858.  
  859. 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
  860.  
  861.         PR other/14264
  862.         * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C.
  863.  
  864. 2004-11-09  Paolo Carlini  <pcarlini@suse.de>
  865.  
  866.         * include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
  867.         time_get<>::do_get_monthname): Absolutely avoid dereferencing
  868.         end iterators.
  869.  
  870.         * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
  871.         Minor tweak.
  872.  
  873. 2004-11-08  Benjamin Kosnik  <bkoz@redhat.com>
  874.             Doug Gregor  <dgregor@cs.indiana.edu>
  875.  
  876.         PR libstdc++/17664
  877.         * src/debug.cc : Just use one mutex.
  878.  
  879. 2004-11-08  Benjamin Kosnik  <bkoz@redhat.com>
  880.  
  881.         * configure.ac (libtool_VERSION): To 6:4:0.
  882.         * configure: Regenerate.
  883.  
  884.         * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4.
  885.  
  886.         * docs/doxygen/user.cfg.in: Add more extension files.
  887.  
  888. 2004-11-08  Paolo Carlini  <pcarlini@suse.de>
  889.  
  890.         * include/bits/streambuf_iterator.h (class istreambuf_iterator):
  891.         Consistently use _M_c to cache the current char, i.e., not only
  892.         when operator++(int) is involved; change _M_c to mutable.
  893.         (_M_get()): Always save the return value of _M_sbuf->sgetc() into
  894.         _M_c.
  895.         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix
  896.         (long standing) typo.
  897.         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
  898.         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
  899.         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
  900.  
  901. 2004-11-08  Paolo Carlini  <pcarlini@suse.de>
  902.  
  903.         * include/bits/istream.tcc (getline(char_type*, streamsize,
  904.         char_type), ignore(streamsize), ignore(streamsize, int_type)):
  905.         Restore a generic version of the functions, not using the
  906.         protected members of basic_streambuf.
  907.         * include/std/std_istream.h (getline(char_type*, streamsize,
  908.         char_type), ignore(streamsize), ignore(streamsize, int_type)):
  909.         Declare optimized specializations for char and wchar_t.
  910.         * src/istream.cc: New file, define the latter.
  911.         * src/Makefile.am: Add.
  912.         * src/Makefile.in: Regenerate.
  913.  
  914. 2004-11-07  Paolo Carlini  <pcarlini@suse.de>
  915.  
  916.         * testsuite/performance/27_io/ifstream_getline-2.cc: New.
  917.  
  918. 2004-11-05  Benjamin Kosnik  <bkoz@redhat.com>
  919.  
  920.         PR libstdc++/17218
  921.         PR libstdc++/17223
  922.         * docs/doxygen/filter: Remove.
  923.         * docs/doxygen/filter.sed: Remove.
  924.         * docs/doxygen/mainpage.html: Add link to functions.
  925.         * docs/doxygen/run_doxygen: Changes due to new source filtering.
  926.         * docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak.
  927.         * include/bits/allocator.h: Tweaks for doxygen.
  928.         * include/bits/char_traits.h: Same.
  929.         * include/bits/codecvt.h: Same.
  930.         * include/bits/concurrence.h: Same.
  931.         * include/bits/locale_facets.h: Same.
  932.         * include/ext/array_allocator.h: Same.
  933.         * include/ext/debug_allocator.h: Same.
  934.         * include/ext/malloc_allocator.h: Same.
  935.         * include/ext/mt_allocator.h: Same.
  936.         * include/ext/new_allocator.h: Same.
  937.         * include/ext/pool_allocator.h: Same.
  938.         * include/ext/stdio_sync_filebuf.h: Same.
  939.         * include/std/std_memory.h: Same.
  940.         * include/tr1/array: Same.
  941.         * include/tr1/tuple: Same.
  942.         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
  943.         * config/os/gnu-linux/ctype_base.h: Same.
  944.  
  945. 2004-11-04  Paolo Carlini  <pcarlini@suse.de>
  946.  
  947.         * include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
  948.         Evaluate __beg == __end the exact strict minimum number of times.
  949.  
  950. 2004-11-03  Jonathan Wakely  <redi@gcc.gnu.org>
  951.  
  952.         * include/bits/stl_numeric.h (partial_sum, adjacent_difference):
  953.         Avoid dereferencing two times __first in the prologue.
  954.  
  955. 2004-11-03  Paolo Carlini  <pcarlini@suse.de>
  956.  
  957.         * include/bits/stl_numeric.h: Trivial formatting fixes.
  958.  
  959. 2004-11-03  Benjamin Kosnik  <bkoz@redhat.com>
  960.  
  961.         * include/bits/c++config: Spacing.
  962.         * libsupc++/del_op.cc: Include c++config.h.
  963.         * libsupc++/del_opnt.cc: Same.
  964.         * libsupc++/del_opv.cc: Same.
  965.         * libsupc++/del_opvnt.cc: Same.
  966.         * libsupc++/new_op.cc: Same.
  967.         * libsupc++/new_opnt.cc: Same.
  968.         * libsupc++/new_opv.cc: Same.
  969.         * libsupc++/new_opvnt.cc: Same.
  970.  
  971. 2004-11-03  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
  972.  
  973.         * config/os/bsd/darwin/os_defines.h
  974.         (_GLIBCXX_WEAK_DEFINITION): Define.
  975.         * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define.
  976.         * libsupc++/del_op.cc (operator delete(void *)): Use
  977.         _GLIBCXX_WEAK_DEFINITION.
  978.         * libsupc++/del_opnt.cc
  979.         (operator delete(void *, const std::nothrow_t&)): Same.
  980.         * libsupc++/del_opv.cc (operator delete[](void *)): Same.
  981.         * libsupc++/del_opvnt.cc
  982.         (operator delete[](void *, const std::nothrow_t&)): Same.
  983.         * libsupc++/new_op.cc (operator new(std::size_t)): Same.
  984.         * libsupc++/new_opnt.cc
  985.         (operator new(std::size_t, const std::nothrow_t&)): Same
  986.         * libsupc++/new_opv.cc (operator new[](std::size_t)): Same.
  987.         * libsupc++/new_opvnt.cc
  988.         (operator new[](std::size_t, const std::nothrow_t&)): Same.
  989.  
  990. 2004-11-02  Paolo Carlini  <pcarlini@suse.de>
  991.  
  992.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int):
  993.         Evaluate *__beg the exact strict minimum number of times; likewise
  994.         for __beg != __end; slightly simplify main parsing loop.
  995.  
  996. 2004-11-02  Benjamin Kosnik  <bkoz@redhat.com>
  997.             Lothar Werzinger  <lothar@xcerla.com>
  998.  
  999.         PR libstdc++/17664
  1000.         * src/debug.cc: Include concurrence, use mutexes.
  1001.         (_Safe_iterator_base::_M_attach): Here.
  1002.         (_Safe_iterator_base::_M_detach): Here.
  1003.  
  1004. 2004-11-02  Benjamin Kosnik  <bkoz@redhat.com>
  1005.  
  1006.         PR libstdc++/17922
  1007.         * include/bits/ios_base.h : Add enum values.
  1008.         * testsuite/testsuite_hooks.h (bitmask_operators): Add function.
  1009.         * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New.
  1010.         * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New.
  1011.         * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New.
  1012.         * testsuite/27_io/ios_base/types/iostate/case_label.cc: New.
  1013.         * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New.
  1014.         * testsuite/27_io/ios_base/types/openmode/case_label.cc: New.
  1015.         * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New.
  1016.  
  1017.         * config/io/c_io_stdio.h (__ios_flags): Mark deprecated.
  1018.         * src/ios.cc: Same.
  1019.  
  1020.         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
  1021.         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
  1022.  
  1023. 2004-11-01  Momchil Velikov  <velco@fadata.bg>
  1024.  
  1025.         PR libstdc++/18185
  1026.         * libsupc++/eh_globals.cc (get_globals_dtor): Delete unhandled
  1027.         exceptions.
  1028.         * testsuite/thread/18185.cc: New.
  1029.  
  1030. 2004-11-01  Chris Jefferson  <chris@bubblescope.net>
  1031.  
  1032.         PR libstdc++/18159
  1033.         * include/tr1/tuple (get(pair)): Change occurrences of _I to _Int.
  1034.         (get(const pair)): Likewise.
  1035.  
  1036. 2004-11-01  Paolo Carlini  <pcarlini@suse.de>
  1037.  
  1038.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
  1039.         Evaluate *__beg the exact strict minimum number of times; likewise
  1040.         for __beg != __end; in the main parsing loop, call ++__beg in two
  1041.         places only. The former is also a correctness issue, because,
  1042.         according to the standard (22.2.2.1.2, Stage 2), 'in' shall be
  1043.         dereferenced only one time for each increment.
  1044.  
  1045. 2004-10-31  Benjamin Kosnik  <bkoz@redhat.com>
  1046.  
  1047.         PR c++/16728
  1048.         * testsuite/23_containers/set/modifiers/16728.cc: New.
  1049.  
  1050. 2004-10-30  Paolo Carlini  <pcarlini@suse.de>
  1051.  
  1052.         * include/ext/bitmap_allocator.h (allocate(size_type)): Minor tweak.
  1053.  
  1054.         * testsuite/ext/bitmap_allocator/check_delete.cc: New.
  1055.         * testsuite/ext/bitmap_allocator/check_new.cc: Likewise.
  1056.  
  1057. 2004-10-29  Geoffrey Keating  <geoffk@apple.com>
  1058.  
  1059.         * configure.host (darwin*): Set os_include_dir to a separate directory
  1060.         for Darwin.
  1061.         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind,
  1062.         'darwin'.
  1063.         * config/locale/darwin/ctype_members.cc: New.
  1064.         * config/os/bsd/darwin/ctype_base.h: New.
  1065.         * config/os/bsd/darwin/ctype_inline.h: New.
  1066.         * config/os/bsd/darwin/ctype_noninline.h: New.
  1067.         * config/os/bsd/darwin/os_defines.h: New.
  1068.  
  1069.         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Only xfail
  1070.         on Linux.
  1071.  
  1072. 2004-10-29  Chris Jefferson  <chris@bubblescope.net>
  1073.  
  1074.         * include/bit/stl_algo.h (find_first_of(,,,,pred)):
  1075.         Remove invalid EqualOpConcept.
  1076.         * testsuite/25_algorithms/find_first_of/concept_check_1.cc: New.
  1077.  
  1078. 2004-10-29  Benjamin Kosnik  <bkoz@redhat.com>
  1079.  
  1080.         * testsuite/testsuite_allocator.h (check_delete): New.
  1081.         (check_new): Simplify.
  1082.         * testsuite/ext/array_allocator/check_delete.cc: New.
  1083.         * testsuite/ext/array_allocator/check_new.cc: Simplify.
  1084.         * testsuite/ext/debug_allocator/check_delete.cc: New.
  1085.         * testsuite/ext/debug_allocator/check_new.cc: Simplify.
  1086.         * testsuite/ext/malloc_allocator/check_delete.cc: New.
  1087.         * testsuite/ext/malloc_allocator/check_new.cc: Simplify.
  1088.         * testsuite/ext/mt_allocator/check_delete.cc: New.
  1089.         * testsuite/ext/mt_allocator/check_new.cc: Simplify.
  1090.         * testsuite/ext/new_allocator/check_delete.cc: New.
  1091.         * testsuite/ext/new_allocator/check_new.cc: Simplify.
  1092.         * testsuite/ext/pool_allocator/check_delete.cc: New.
  1093.         * testsuite/ext/pool_allocator/check_new.cc: Simplify.
  1094.  
  1095. 2004-10-28  Chris Jefferson  <chris@bubblescope.net>
  1096.  
  1097.         PR libstdc++/18159
  1098.         * include/tr1/tuple: Fix, change formatting.
  1099.  
  1100. 2004-10-28  Benjamin Kosnik  <bkoz@redhat.com>
  1101.  
  1102.         * include/ext/mt_allocator.h (__common_pool_policy): Add template
  1103.         template parameter for pool class type.
  1104.         (__per_type_pool_policy): Same.
  1105.         (__mt_allocator): Don't inherit policy. Qualify policy_type calls.
  1106.         * testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix.
  1107.         * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same.
  1108.         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
  1109.         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
  1110.         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
  1111.         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
  1112.         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
  1113.         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
  1114.         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
  1115.         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
  1116.         * testsuite/ext/mt_allocator/instantiate.cc: Same.
  1117.         * testsuite/ext/mt_allocator/tune-1.cc: Same.
  1118.         * testsuite/ext/mt_allocator/tune-2.cc: Same.
  1119.         * testsuite/ext/mt_allocator/tune-3.cc: Same.
  1120.         * testsuite/ext/mt_allocator/tune-4.cc: Same.
  1121.  
  1122. 2004-10-28  Paolo Carlini  <pcarlini@suse.de>
  1123.  
  1124.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
  1125.         Cache *__beg in __c when parsing exponent sign too.
  1126.         (num_get<>::do_get(..., bool&)): Cache *__beg.
  1127.         (money_get<>::_M_extract)): Likewise, in money_base::value.
  1128.  
  1129. 2004-10-27  Paolo Carlini  <pcarlini@suse.de>
  1130.  
  1131.         * include/bits/basic_string.h (assign(const basic_string&)):
  1132.         Move out of line...
  1133.         * include/bits/basic_string.tcc: ... here.
  1134.  
  1135. 2004-10-27  Paolo Carlini  <pcarlini@suse.de>
  1136.  
  1137.         * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
  1138.         Move out of line...
  1139.         * include/bits/basic_string.tcc: ... here.
  1140.  
  1141. 2004-10-26  Paolo Carlini  <pcarlini@suse.de>
  1142.  
  1143.         * include/bits/basic_string.h (append(const basic_string&),
  1144.         append(size_type, _CharT)): Move out of line...
  1145.         * include/bits/basic_string.tcc: ... here.
  1146.  
  1147. 2004-10-26  Paolo Carlini  <pcarlini@suse.de>
  1148.  
  1149.         * include/bits/basic_string.h (erase(size_type, size_type),
  1150.         erase(iterator), erase(iterator, iterator)): Call _M_mutate
  1151.         instead of _M_replace_safe, equivalent when the fourth argument
  1152.         is zero and simpler.
  1153.  
  1154. 2004-10-26  Benjamin Kosnik  <bkoz@redhat.com>
  1155.  
  1156.         * include/ext/array_allocator.h (array::allocate): Check for valid
  1157.         array object, use its size member function directly.
  1158.         * testsuite/ext/array_allocator/3.cc: New.
  1159.         * docs/html/20_util/allocator.html: Add docs.
  1160.  
  1161. 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
  1162.  
  1163.         * configure.host (darwin*): Build libstdc++ single module
  1164.         and flat namespace.
  1165.         * libsupc++/new_op.cc (new): Make weak.
  1166.         * libsupc++/new_opnt.cc (new): Make weak.
  1167.         * libsupc++/new_opv.cc (new): Make weak.
  1168.         * libsupc++/new_opvnt.cc (new): Make weak.
  1169.         * libsupc++/delete_op.cc (delete): Make weak.
  1170.         * libsupc++/delete_opnt.cc (delete): Make weak.
  1171.         * libsupc++/delete_opv.cc (delete): Make weak.
  1172.         * libsupc++/delete_opvnt.cc (delete): Make weak.
  1173.  
  1174. 2004-10-25  Benjamin Kosnik  <bkoz@redhat.com>
  1175.  
  1176.         * testsuite/Makefile.am (GLIBCXX_INCLUDES): Add.
  1177.         (AUTOMAKE_OPTIONS): Add nostdinc.
  1178.         * testsuite/Makefile.in: Regenerate.
  1179.         * scripts/testsuite_flags.in (build-includes): Remove redundant
  1180.         search for libsupc++.
  1181.         * fragment.am: Clean.
  1182.  
  1183. 2004-10-25  Benjamin Kosnik  <bkoz@redhat.com>
  1184.  
  1185.         * include/Makefile.am (tr1_headers): Add tuple.
  1186.         * include/Makefile.in: Regenerate.
  1187.  
  1188. 2004-10-25  Chris Jefferson  <chris@bubblescope.net>
  1189.  
  1190.         * include/tr1/tuple: Implementation of tuple from library TR.
  1191.         * testsuite/tr1/6_containers/tuple/tuple_element.cc: New.
  1192.         * testsuite/tr1/6_containers/tuple/tuple_size.cc: New.
  1193.         * testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc:
  1194.         New.
  1195.         * testsuite/tr1/6_containers/tuple/cons/assignment.cc: New.
  1196.         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: New.
  1197.         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: New.
  1198.         * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
  1199.         New.
  1200.         * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: New.
  1201.         * testsuite/tr1/6_containers/tuple/element_access/get.cc: New.
  1202.  
  1203. 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
  1204.  
  1205.         * include/bits/basic_string.h (_Rep::_M_is_safe): Move to
  1206.         basic_string as _M_disjunct, adjust to take only __s.
  1207.         * include/bits/basic_string.tcc: Adjust consistently callers.
  1208.  
  1209. 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
  1210.  
  1211.         * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
  1212.         Adjust bit missing from the previous commit.
  1213.  
  1214. 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
  1215.  
  1216.         PR other/18138
  1217.         * testsuite/lib/libstdc++.exp: Accept more than one multilib libgcc.
  1218.  
  1219. 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
  1220.  
  1221.         * include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length,
  1222.         _M_move, _M_copy, _M_assign): New, use througout.
  1223.         (operator+=(_CharT)): Define in terms of push_back.
  1224.         (append(const basic_string&)): Define here, inline, and simplify,
  1225.         don't use the full _M_replace_safe.
  1226.         (append(size_type, _CharT)): Likewise, don't use _M_replace_aux.
  1227.         (push_back): Likewise.
  1228.         (assign(const basic_string&)): Define here, inline.
  1229.         * include/bits/basic_string.tcc (append(const _CharT* s, size_type):
  1230.         Fix: when s points inside the _Rep, upon reallocation (reserve) we
  1231.         were copying from deallocated memory.
  1232.         (append(const basic_string&, size_type, size_type)): Simplify,
  1233.         don't use _M_replace_safe.
  1234.         (replace(size_type, size_type, const _CharT*, size_type)): Slightly
  1235.         tweak.
  1236.         (reserve): Likewise.
  1237.         * testsuite/21_strings/basic_string/append/char/2.cc: New.
  1238.         * testsuite/21_strings/basic_string/append/char/3.cc: Likewise.
  1239.         * testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise.
  1240.         * testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise.
  1241.  
  1242.         * testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk.
  1243.         * testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise.
  1244.  
  1245. 2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>
  1246.  
  1247.         * testsuite/ext/mt_allocator/deallocate_global-2.c:
  1248.         s/value_t/value_type/. s/traits_t/traits_type/.
  1249.         s/policy_t/policy_type/. s/allocator_t/allocator_type/.
  1250.         s/string_t/string_type/. s/list_t/list_type/.
  1251.         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
  1252.         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
  1253.         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
  1254.         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
  1255.         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
  1256.         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
  1257.         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
  1258.  
  1259. 2004-10-21  Benjamin Kosnik  <bkoz@redhat.com>
  1260.  
  1261.         * include/tr1/array (array): Make safe for zero-sized arrays.
  1262.         (array::end): Return one past the end.
  1263.         (array::at): Use __throw_out_of_range, include functexcept.h.
  1264.         (operator==): Implement.
  1265.         (operator!=): Same.
  1266.         (operator<): Same.
  1267.         (operator>): Same.
  1268.         (operator>=): Same.
  1269.         (operator<=): Same.
  1270.         * testsuite/tr1/6_containers/array/capacity/(empty.cc,
  1271.         max_size.cc, size.cc): New.
  1272.         * testsuite/tr1/6_containers/array/comparison_operators/(equal.cc,
  1273.         greater.cc, greater_or_equal.cc, less.cc, less_or_equal.cc,
  1274.         not_equal): New.
  1275.         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
  1276.         New.
  1277.         * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
  1278.         New.
  1279.         * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: New.
  1280.         * testsuite/tr1/6_containers/array/requirements/(contiguous.cc,
  1281.         instantiate, typedefs, zero_size_arrays): New.
  1282.  
  1283. 2004-10-21  Paolo Carlini  <pcarlini@suse.de>
  1284.             Benjamin Kosnik  <bkoz@redhat.com>
  1285.  
  1286.         * include/bits/basic_string.h (_M_set_length_and_sharable): New.
  1287.         * include/bits/basic_string.tcc (_S_construct, assign(const _CharT*,
  1288.         size_type), _M_mutate, _M_clone): Use it.
  1289.         (_Rep::_S_create): Don't set/call _M_length/_M_set_sharable here.
  1290.  
  1291. 2004-10-21  Paolo Carlini  <pcarlini@suse.de>
  1292.             Dhruv Matani  <dhruvbird@gmx.net>
  1293.             Nathan Myers  <ncm@cantrip.org>
  1294.  
  1295.         * include/bits/vector.tcc (_M_insert_aux, _M_fill_insert,
  1296.         _M_range_insert): Check at the outset that we are not trying
  1297.         to exceed max_size, then deal properly with __len overflows.
  1298.         * testsuite/23_containers/vector/modifiers/insert/1.cc: New.
  1299.  
  1300.         * testsuite/testsuite_allocator.h: Remove redundant include.
  1301.  
  1302. 2004-10-20  Paolo Carlini  <pcarlini@suse.de>
  1303.  
  1304.         * include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc
  1305.         when n > max_size().
  1306.         * include/ext/malloc_allocator.h (allocate): Likewise.
  1307.         * include/ext/mt_allocator.h (allocate): Likewise.
  1308.         * include/ext/new_allocator.h (allocate): Likewise.
  1309.         * include/ext/array_allocator.h: Use __throw_bad_alloc().
  1310.         * include/ext/pool_allocator.h: Use __builtin_expect.
  1311.         * testsuite/ext/array_allocator/check_allocate_max_size.cc: New.
  1312.         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: Likewise.
  1313.         * testsuite/ext/malloc_allocator/check_allocate_max_size.cc: Likewise.
  1314.         * testsuite/ext/mt_allocator/check_allocate_max_size.cc: Likewise.
  1315.         * testsuite/ext/new_allocator/check_allocate_max_size.cc: Likewise.
  1316.         * testsuite/ext/pool_allocator/check_allocate_max_size.cc: Likewise.
  1317.         * testsuite/testsuite_allocator.h (check_allocate_max_size): New test.
  1318.  
  1319. 2004-10-19  Paolo Carlini  <pcarlini@suse.de>
  1320.  
  1321.         * testsuite/performance/20_util/allocator/list_sort_search.cc:
  1322.         Include <ext/new_allocator.h>.
  1323.         * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
  1324.  
  1325. 2004-10-18  Paolo Carlini  <pcarlini@suse.de>
  1326.  
  1327.         * include/bits/basic_string.tcc (_M_mutate): Do not reallocate
  1328.         unnecessarily when _M_rep() == &_S_empty_rep() and __new_size
  1329.         == capacity() (== 0): is ok to just leave everything unchanged.
  1330.  
  1331.         * include/bits/basic_string.h: Minor formatting fixes.
  1332.         * include/bits/basic_string.tcc: Likewise.
  1333.  
  1334. 2004-10-17  Benjamin Kosnik  <bkoz@redhat.com>
  1335.  
  1336.         * include/ext/mt_allocator.h (__pool::_M_get_align): New.
  1337.         (__mt_alloc::allocate): Use it.
  1338.         * src/mt_allocator.cc (__pool::_M_reclaim_block): Use it.
  1339.         (__pool::_M_reserve_block): Simplify block allocation.
  1340.  
  1341. 2004-10-17  Dhruv Matani  <dhruvbird@gmx.net>
  1342.             Paolo Carlini  <pcarlini@suse.de>
  1343.  
  1344.         * include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this
  1345.         makes the code 64-bit correct and also fixes (together with using at
  1346.         the beginning a bitmap 2 * size_t bytes wide) alignment issues: now
  1347.         8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES.
  1348.         Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor.
  1349.         * src/bitmap_allocator.cc: Change to size_t.
  1350.         * config/linker-map.gnu: Adjust.
  1351.  
  1352. 2004-10-16  Benjamin Kosnik  <bkoz@redhat.com>
  1353.  
  1354.         * include/tr1/array: Don't use layout_type.
  1355.  
  1356. 2004-10-16  Sashan Govender  <sashang@gmail.com>
  1357.  
  1358.         * include/tr1/array (array::end const): Fix casting from iterator
  1359.         to const_iterator.
  1360.  
  1361. 2004-10-15  Paolo Carlini  <pcarlini@suse.de>
  1362.  
  1363.         * include/ext/bitmap_allocator.h: Qualify ::operator delete.
  1364.         * src/bitmap_allocator.cc: Likewise.
  1365.         * src/mt_allocator.cc: Use ::operator delete, not delete,
  1366.         consistently with ::operator new.
  1367.  
  1368.         * include/ext/bitmap_allocator.h (deallocate): Check for null
  1369.         pointer.
  1370.         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
  1371.         * testsuite/testsuite_allocator.h (check_deallocate_null): Add test.
  1372.  
  1373. 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
  1374.  
  1375.         * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
  1376.         null pointer.
  1377.         * include/ext/pool_allocator.h (debug_allocator::deallocate):
  1378.         Check pointer value.
  1379.         * include/ext/debug_allocator.h (debug_allocator::deallocate):
  1380.         Throw exceptions, don't abort.
  1381.         * include/ext/array_allocator.h
  1382.         (array_allocator_base::deallocate): Remove unused parameters.
  1383.         * testsuite/testsuite_allocator.h (check_deallocate_null): New.
  1384.         * testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
  1385.         * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
  1386.         * testsuite/ext/array_allocator/check_deallocate_null.cc: New.
  1387.         * testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
  1388.         * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
  1389.         * testsuite/ext/new_allocator/check_deallocate_null.cc: New.
  1390.         * testsuite/ext/pool_allocator/check_deallocate_null.cc: New.
  1391.  
  1392.         * testsuite/testsuite_allocator.h (check_new): Add instance argument.
  1393.         * testsuite/ext/array_allocator/check_new.cc: New.
  1394.  
  1395. 2004-10-14  Paolo Carlini  <pcarlini@suse.de>
  1396.  
  1397.         * include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
  1398.         Rename __unused to __M_unused.
  1399.  
  1400. 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
  1401.  
  1402.         * testsuite/ext/headers.cc: Add includes, compile only.
  1403.         * testsuite/ext/hash_map.cc: Move to...
  1404.         * testsuite/ext/hash_map/1.cc: ...here.
  1405.         * testsuite/ext/14648.cc: Move to...
  1406.         * testsuite/ext/hash_map/14648.cc: ...here.
  1407.         * testsuite/ext/hash_map/instantiate.cc: Add.
  1408.         * testsuite/ext/hash_set.cc: Move to...
  1409.         * testsuite/ext/hash_set/1.cc: ...here.
  1410.         * testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
  1411.         * testsuite/ext/hash_set/instantiate.cc: ...here.
  1412.         * testsuite/ext/hash_check_construct_destroy.cc: Move to...
  1413.         * testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
  1414.         * testsuite/ext/slist_check_construct_destroy.cc: Move to...
  1415.         * testsuite/ext/slist/check_construct_destroy.cc: ...here.
  1416.         * testsuite/ext/slist_explicit_instantiation.cc: Move to...
  1417.         * testsuite/ext/slist/instantiate.cc: ...here.
  1418.  
  1419. 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
  1420.  
  1421.         * include/ext/mt_allocator.h: Tweaks.
  1422.         * src/mt_allocator.cc: Same.
  1423.  
  1424. 2004-10-14  Dhruv Matani  <dhruvbird@gmx.net>
  1425.  
  1426.         * ext/bitmap_allocator.h: Clean-up add/remove functions.
  1427.         * src/bitmap_allocator.cc: New file. Contains the out-of-line
  1428.         function definitions, static initialization of variables, and
  1429.         explicit instantiations needed for the allocator.
  1430.         * src/Makefile.am: Add.
  1431.         * src/Makefile.in: Regenerate.
  1432.         * config/linker.map.gnu: Add the necessary symbols.
  1433.  
  1434. 2004-10-13  Paolo Carlini  <pcarlini@suse.de>
  1435.  
  1436.         * include/bits/basic_string.tcc (_S_create): Use consistently
  1437.         the exponential policy, simplify.
  1438.         * testsuite/performance/21_strings/string_append_2.cc: New.
  1439.  
  1440.         * include/ext/array_allocator.h (allocate): Fix bad_alloc check.
  1441.         * testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in
  1442.         that case sizeof(_Rep) == 24).
  1443.  
  1444. 2004-10-12  Paolo Carlini  <pcarlini@suse.de>
  1445.  
  1446.         PR libstdc++/17948
  1447.         * include/bits/stl_tree.h (erase(iterator, iterator)): Revert
  1448.         wrong commit of 2004-10-07.
  1449.  
  1450. 2004-10-12  Scott Snyder  <snyder@fnal.gov>
  1451.  
  1452.         PR libstdc++/17948
  1453.         * testsuite/23_containers/set/modifiers/17948.cc: New.
  1454.  
  1455. 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
  1456.  
  1457.         * include/bits/stl_deque.h: Correct for over-long lines.
  1458.  
  1459. 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
  1460.  
  1461.         PR libstdc++/17937
  1462.         * include/ext/mt_allocator.h (__pool::_M_destroy): New.
  1463.         * src/mt_allocator.cc (__pool::~__pool): Change definitions to
  1464.         _M_destroy.
  1465.         * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT.
  1466.         * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove.
  1467.         * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT.
  1468.         * configure: Regenerate.
  1469.         * config/linker-map.gnu: Tweak exports.
  1470.         * docs/html/ext/mt_allocator.html: Update docs.
  1471.         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix.
  1472.         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix.
  1473.         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix.
  1474.         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix.
  1475.         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix.
  1476.         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix.
  1477.         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix.
  1478.         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix.
  1479.  
  1480. 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
  1481.  
  1482.         PR libstdc++/16614 continued.
  1483.         * include/ext/mt_allocator.h
  1484.         (__per_type_pool_policy::_S_get_pool): Use saner defaults based on
  1485.         specific type characteristics.
  1486.         (__pool_base): Add constructor that takes a _Tune argument.
  1487.         (__pool): Same.
  1488.         * testsuite/ext/mt_allocator/tune-2.cc: Adjust default.
  1489.         * testsuite/ext/mt_allocator/tune-4.cc: Same.
  1490.         * testsuite/ext/mt_allocator/tune-3.cc: Same.
  1491.  
  1492. 2004-10-11  Joachim Kuebart  <kuebart@mathematik.uni-ulm.de>
  1493.             Paolo Carlini  <pcarlini@suse.de>
  1494.  
  1495.         * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
  1496.         Deal properly with exceptions thrown by ::operator new(size_t).
  1497.         * testsuite/ext/pool_allocator/allocate_chunk.cc: New.
  1498.  
  1499.         * include/ext/pool_allocator.h: Include <cstdlib>.
  1500.  
  1501. 2004-10-10  Benjamin Kosnik  <bkoz@redhat.com>
  1502.  
  1503.         * include/bits/functexcept.h: Add guards.
  1504.  
  1505.         * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test.
  1506.         * configure: Regenerate.
  1507.  
  1508. 2004-10-10  Paolo Carlini  <pcarlini@suse.de>
  1509.  
  1510.         * config/locale/gnu/monetary_members.cc (_S_construct_pattern):
  1511.         Give __ret a default value, thus avoiding spurious warnings.
  1512.  
  1513.         * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either
  1514.         words or linux.words, otherwise exit.
  1515.         * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak.
  1516.  
  1517. 2004-10-09  Paolo Carlini  <pcarlini@suse.de>
  1518.  
  1519.         * include/std/std_memory.h (__get_temporary_buffer): Don't use
  1520.         INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit
  1521.         platforms too.
  1522.         * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error
  1523.         line numbers.
  1524.  
  1525. 2004-10-08  Benjamin Kosnik  <bkoz@redhat.com>
  1526.  
  1527.         * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
  1528.         * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New.
  1529.         * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT.
  1530.         * configure: Regenerate.
  1531.         * src/mt_allocator.cc (__pool::~__pool): Make conditional on
  1532.         _GLIBCXX_USE___CXA_ATEXIT macro.
  1533.         * docs/html/ext/mt_allocator.html: Add note about deallocation.
  1534.         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks
  1535.         with _GLIBCXX_USE___CXA_ATEXIT.
  1536.         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
  1537.         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
  1538.         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
  1539.         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
  1540.         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
  1541.         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
  1542.         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
  1543.  
  1544. 2004-10-07  Phil Edwards  <phil@codesourcery.com>
  1545.  
  1546.         * testsuite/lib/libstdc++.exp:  Update list of undefined functions.
  1547.  
  1548. 2004-10-07  Paolo Carlini  <pcarlini@suse.de>
  1549.  
  1550.         * include/bits/list.tcc (operator=): Avoid iterator postincrement.
  1551.         * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise.
  1552.  
  1553. 2004-10-07  Benjamin Kosnik  <bkoz@redhat.com>
  1554.  
  1555.         * include/tr1: New.
  1556.         * include/tr1/array: New.
  1557.         * include/Makefile.am (tr1_headers): New.
  1558.         (stamp-tr1): New.
  1559.         (install-headers): New.
  1560.         (allstamped): Add stamp-tr1.
  1561.  
  1562.         * include/ext/array_allocator.h: New.
  1563.         * include/Makefile.am: Add.
  1564.         * include/Makefile.in: Regenerate.
  1565.         * testsuite/ext/array_allocator/1.cc: New.
  1566.         * testsuite/ext/array_allocator/2.cc: New.
  1567.  
  1568. 2004-10-07  Richard Earnshaw  <rearnsha@arm.com>
  1569.  
  1570.         * testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
  1571.  
  1572. 2004-10-07  Roger Sayle  <roger@eyesopen.com>
  1573.  
  1574.         PR libstdc++/17850
  1575.         * configure.ac: Newlib does not provide strtold.
  1576.         * configure: Regenerate.
  1577.  
  1578. 2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
  1579.  
  1580.         * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
  1581.         (GLIBCXX_CONFIGURE_TESTSUITE): Use it.
  1582.         * configure: Regenerated.
  1583.         * testsuite/Makefile.am (CLEANFILES): Add TEST for
  1584.         check-performance executables.
  1585.         (stamp_thread): New.
  1586.         (all-local): Use it.
  1587.         * testsuite/Makefile.in: Regenerate.
  1588.         * scripts/create_testsuite_files: Filter thread tests.
  1589.  
  1590.         * testsuite/thread/pthread1.cc: Remove macro conditionals: this
  1591.         file will only be run by thread enabled configurations.
  1592.         * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef.
  1593.         * testsuite/thread/pthread6.cc: Same.
  1594.         * testsuite/thread/pthread5.cc: Same.
  1595.         * testsuite/thread/pthread4.cc: Same.
  1596.         * testsuite/thread/pthread3.cc: Same.
  1597.         * testsuite/thread/pthread2.cc: Same.
  1598.  
  1599.         * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard.
  1600.         * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to...
  1601.         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here.
  1602.         * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to...
  1603.         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here.
  1604.         * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to...
  1605.         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here.
  1606.         * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to...
  1607.         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here.
  1608.  
  1609. 2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
  1610.             Paolo Carlini  <pcarlini@suse.de>
  1611.  
  1612.         PR libstdc++/17780
  1613.         * src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert
  1614.         to old locking order.
  1615.  
  1616. 2004-10-06  Paolo Carlini  <pcarlini@suse.de>
  1617.  
  1618.         * include/std/std_sstream.h (_M_sync): When the caller is
  1619.         setbuf, don't trust _M_string.capacity() to be the size of
  1620.         the buffer area, use _M_string.size() in this case.
  1621.         * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New.
  1622.         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.
  1623.  
  1624.         * include/bits/sstream.tcc (overflow): Avoid calling string::assign
  1625.         unnecessarily when the current _M_string is empty.
  1626.  
  1627. 2004-10-06  Paolo Carlini  <pcarlini@suse.de>
  1628.  
  1629.         * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)):
  1630.         Avoid iterator postincrement.
  1631.         (__rotate): Likewise.
  1632.  
  1633.         * include/bits/stl_algo.h: Minor formatting tweaks.
  1634.  
  1635. 2004-10-06  Christopher Jefferson <caj@cs.york.ac.uk>
  1636.  
  1637.         * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)):
  1638.         Avoid iterator postincrement; fix swapping middle element with
  1639.         itself on odd-length inputs.
  1640.  
  1641. 2004-10-05  Benjamin Kosnik  <bkoz@redhat.com>
  1642.  
  1643.         PR libstdc++/17780
  1644.         * include/ext/mt_allocator.h (__pool_base::_Tune): Add default
  1645.         options as compile-time constant enums.
  1646.         (__pool_base::_Tune::is_default): New.
  1647.         (__pool_base::_Block_address): New.
  1648.         (__pool_base): Rearrange data members.
  1649.         (__pool::_M_reserve_memory): To _M_reserve_block.
  1650.         (__pool::_M_reclaim_memory): To _M_reclaim_block.
  1651.         (__pool::_Bin_record): Add _Block_address data member.
  1652.         (__pool<false>): Add _M_thread_freelist_initial.
  1653.         (__pool::~__pool): Declare.
  1654.         (__common_pool_policy): Move static data member to...
  1655.         (__common_pool_policy::_S_get_pool): ...here, make static local.
  1656.         (__per_type_pool_policy): Move static data member to...
  1657.         (__per_type_pool_policy::_S_get_pool): ...here, make static local.
  1658.         (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool.
  1659.         Remove static member definitions. Use define for __default_policy.
  1660.         * src/mt_allocator.cc: Same.
  1661.         * config/linker-map.gnu: Don't export _S_get_pool. Renames.
  1662.         * testsuite/ext/new_allocator: New.
  1663.         * testsuite/ext/new_allocator/instantiate.cc: New.
  1664.         * testsuite/ext/new_allocator/check_new.cc: New.
  1665.         * testsuite/ext/new_allocator/deallocate_global.cc: New.
  1666.         * testsuite/ext/new_allocator/deallocate_local.cc: New.
  1667.         * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all
  1668.         template arguments.
  1669.         * testsuite/ext/mt_allocator/deallocate_global-1.cc: New.
  1670.         * testsuite/ext/mt_allocator/deallocate_global-2.cc: New.
  1671.         * testsuite/ext/mt_allocator/deallocate_global-3.cc: New.
  1672.         * testsuite/ext/mt_allocator/deallocate_global-4.cc: New.
  1673.         * testsuite/ext/mt_allocator/deallocate_local-1.cc: New.
  1674.         * testsuite/ext/mt_allocator/deallocate_local-2.cc: New.
  1675.         * testsuite/ext/mt_allocator/deallocate_local-3.cc: New.
  1676.         * testsuite/ext/mt_allocator/deallocate_local-4.cc: New.
  1677.         * testsuite/ext/mt_allocator/deallocate.cc: New.
  1678.         * testsuite/ext/malloc_allocator/deallocate.cc: New.
  1679.         * testsuite/ext/malloc_allocator/deallocate_global.cc: New.
  1680.         * testsuite/ext/malloc_allocator/deallocate_local.cc: New.
  1681.  
  1682. 2004-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
  1683.  
  1684.         * configure.host (abi_baseline_pair): Define for s390-*-linux* and
  1685.         s390x-*-linux*.
  1686.         * config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols.
  1687.         * config/abi/s390x-linux-gnu/baseline_symbols.txt: New file.
  1688.  
  1689. 2004-10-05  Christopher Jefferson  <caj@cs.york.ac.uk>
  1690.  
  1691.         * include/bits/stl_algobase.h (iter_swap): delegate to swap via
  1692.         __iter_swap when iterator's value_types are equal.
  1693.         (struct __iter_swap): New.
  1694.  
  1695. 2004-10-04  Benjamin Kosnik  <bkoz@redhat.com>
  1696.  
  1697.         * configure.ac (libtool_VERSION): To 6:3:0.
  1698.         * configure: Regnerate.
  1699.         * testsuite/testsuite_abi.cc (check_version): Add 3.4.3.
  1700.  
  1701. 2004-10-04  Roger Sayle  <roger@eyesopen.com>
  1702.             Eric Botcazou  <ebotcazou@libertysurf.fr>
  1703.  
  1704.         PR libstdc++/17505
  1705.         * config/linker-map.gnu: Synchronize the current list of stub
  1706.         functions from libmath.
  1707.  
  1708. 2004-10-03  Roger Sayle  <roger@eyesopen.com>
  1709.  
  1710.         * config/locale/generic/c_locale.cc (__convert_to_v): Use
  1711.         _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
  1712.         Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99
  1713.         to check for presence of strtold.
  1714.  
  1715. 2004-10-03  Paolo Carlini  <pcarlini@suse.de>
  1716.  
  1717.         * include/bits/stl_list.h: Trivial formatting fixes.
  1718.         * include/bits/stl_tree.h: Likewise.
  1719.  
  1720. 2004-10-03  Paolo Carlini  <pcarlini@suse.de>
  1721.  
  1722.         * include/bits/sstream.tcc (seekpos): In case of success, just
  1723.         return __sp.
  1724.  
  1725. 2004-10-01  Paolo Carlini  <pcarlini@suse.de>
  1726.  
  1727.         * include/bits/sstream.tcc (pbackfail): Implement correctly
  1728.         27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not
  1729.         write in the buffer.
  1730.         * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New.
  1731.         * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise.
  1732.         * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise.
  1733.         * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise.
  1734.         * testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently.
  1735.  
  1736. 2004-10-01  Paolo Carlini  <pcarlini@suse.de>
  1737.  
  1738.         * include/bits/sstream.tcc (seekpos): Minor rearrangement of two
  1739.         conditionals consistently with seekoff.
  1740.         * include/std/std_sstream.h (setbuf): Avoid a string temporary.
  1741.         (_M_sync): Simplify a bit, clean-up comment.
  1742.  
  1743. 2004-09-30  Paolo Carlini  <pcarlini@suse.de>
  1744.  
  1745.         PR libstdc++/10975 (DR 453)
  1746.         * include/bits/sstream.tcc (seekoff): Don't fail if __beg == 0
  1747.         and __off == 0.
  1748.         * docs/html/ext/howto.html: Add an entry for DR 453.
  1749.         * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: New.
  1750.         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise.
  1751.         * testsuite/27_io/basic_istream/tellg/char/1.cc: Tweak consistently.
  1752.         * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise.
  1753.         * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise.
  1754.         * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: Fix and
  1755.         move to...
  1756.         * testsuite/27_io/basic_istream/seekp/char/2346-fstream.cc: ... here.
  1757.         * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: Fix and
  1758.         move to...
  1759.         * testsuite/27_io/basic_istream/seekp/char/2346-sstream.cc: ... here.
  1760.  
  1761. 2004-09-29  Paolo Carlini  <pcarlini@suse.de>
  1762.  
  1763.         * include/std/std_sstream.h (basic_stringbuf(ios_base::openmode)):
  1764.         Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1.
  1765.         (str()): Slightly tweak, protect from pptr() == 0.
  1766.         (_M_update_egptr()): Likewise.
  1767.         * include/bits/sstream.tcc (ssekoff, seekpos): In order to check
  1768.         for an empty buffer use __beg instead of _M_string.capacity().
  1769.         * testsuite/27_io/basic_stringbuf/cons/char/1.cc: New.
  1770.         * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.
  1771.  
  1772.         * testsuite/27_io/basic_filebuf/cons/char/1.cc: New.
  1773.         * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise.
  1774.         * testsuite/27_io/basic_streambuf/cons/char/1.cc: Update.
  1775.         * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise.
  1776.  
  1777. 2004-09-29  Paolo Carlini  <pcarlini@suse.de>
  1778.             Benjamin Kosnik  <bkoz@redhat.com>
  1779.  
  1780.         * testsuite/testsuite_io.h (class constraint_buf): New, extended
  1781.         and templatized version of constraint_filebuf; add typedefs for
  1782.         streambuf/stringbuf/filebuf and wchar_t counterparts.
  1783.  
  1784. 2004-09-28  Paolo Carlini  <pcarlini@suse.de>
  1785.  
  1786.         PR libstdc++/16612
  1787.         * include/bits/basic_string.h (_M_dispose, _M_refcopy,
  1788.         basic_string()): When _GLIBCXX_FULLY_DYNAMIC_STRING is defined,
  1789.         don't deal with _S_empty_rep.
  1790.         * include/bits/basic_string.tcc (_S_construct, _M_destroy,
  1791.         _M_leak_hard, _M_mutate): Likewise.
  1792.         * acinclude.m4 (GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING): New.
  1793.         * acconfig.h: Add corresponding undef.
  1794.         * configure.ac: Use GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING.
  1795.         * docs/html/configopts.html: Document --enable-fully-dynamic-string.
  1796.         * configure: Regenerate.
  1797.         * config.h.in: Likewise.
  1798.  
  1799. 2004-09-28  Benjamin Kosnik  <bkoz@redhat.com>
  1800.             Paolo Carlini  <pcarlini@suse.de>
  1801.  
  1802.         * testsuite/21_strings/basic_string/operations/char/1.cc: New.
  1803.         * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New.
  1804.         * testsuite/21_strings/basic_string/element_access/char/empty.cc: New.
  1805.         * testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc:
  1806.         New.
  1807.  
  1808. 2004-09-28  Paolo Carlini  <pcarlini@suse.de>
  1809.  
  1810.         * README: Remove obsolete entry about include/c_shadow.
  1811.  
  1812. 2004-09-24  H.J. Lu  <hongjiu.lu@intel.com>
  1813.  
  1814.         PR libstdc++/17469
  1815.         * testsuite/lib/libstdc++.exp: Don't use global ld_library_path.
  1816.  
  1817. 2004-09-24  Paolo Carlini  <pcarlini@suse.de>
  1818.  
  1819.         * src/localename.cc (locale::locale(const char*)): Minor tweaks:
  1820.         rename a variable, move an assignment.
  1821.         (locale::_Impl::_Impl(const char*, size_t)): Likewise, minor tweak.
  1822.  
  1823. 2004-09-24  Paul Brook  <paul@codesourcery.com>
  1824.  
  1825.         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL more arm
  1826.         simulator targets.
  1827.         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
  1828.         * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Ditto.
  1829.         * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Ditto.
  1830.         * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Ditto.
  1831.         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Ditto.
  1832.         * testsuite/ext/stdio_filebuf/char/10063-3.cc: Ditto.
  1833.  
  1834. 2004-09-23  Zack Weinberg  <zack@codesourcery.com>
  1835.  
  1836.         * testsuite/20_util/memory/auto_ptr/assign_neg.cc
  1837.         * testsuite/23_containers/map/operators/1_neg.cc
  1838.         * testsuite/23_containers/set/operators/1_neg.cc:
  1839.         Update locations and/or regexps of dg-error markers.
  1840.  
  1841. 2004-09-23  P.J. Darcy  <darcypj@us.ibm.com>
  1842.  
  1843.         * include/Makefile.am (thread_host_headers): Add gthr-tpf.h.
  1844.         Add rule to build ${host_builddir}/gthr-tpf.h.
  1845.         * include/Makefile.in: Regenerate.
  1846.  
  1847. 2004-09-23  Paolo Carlini  <pcarlini@suse.de>
  1848.             Magnus Fromreide  <magfr@lysator.liu.se>
  1849.  
  1850.         * include/bits/boost_concept_check.h (struct _SequenceConcept):
  1851.         Remove wrong requirement, i.e., not present in Table 67.
  1852.  
  1853. 2004-09-21  Paolo Carlini  <pcarlini@suse.de>
  1854.  
  1855.         PR libstdc++/12882 (cont)
  1856.         * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too.
  1857.         * configure: Regenerate.
  1858.         * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When
  1859.         _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non
  1860.         trivial showmanyc for large files too.
  1861.  
  1862. 2004-09-17  Jonathan Wakely  <redi@gcc.gnu.org>
  1863.  
  1864.         * include/bits/stl_algo.h (remove): Remove too restrictive
  1865.         concept-check.
  1866.  
  1867. 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
  1868.  
  1869.         * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional,
  1870.         as per Nathan's original suggestion.
  1871.  
  1872. 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
  1873.  
  1874.         * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean
  1875.         up a bit.
  1876.         * testsuite/ext/mt_allocator/tune-2.cc: Likewise.
  1877.         * testsuite/ext/mt_allocator/tune-3.cc: Likewise.
  1878.         * testsuite/ext/mt_allocator/tune-4.cc: Likewise.
  1879.  
  1880. 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
  1881.             Andrea Arcangeli  <andrea@suse.de>
  1882.  
  1883.         * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't
  1884.         call unnecessarily sync, that is fflush: the library, since 3.4.0
  1885.         does not use buffered fread/fwrite.
  1886.         * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise.
  1887.  
  1888. 2004-09-15  Mark Mitchell  <mark@codesourcery.com>
  1889.  
  1890.         * config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type):
  1891.         Define.
  1892.         * config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type):
  1893.         Define.
  1894.         * libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type.
  1895.         (__cxa_vec_new): Use it.
  1896.         (__cxa_vec_new2): Likewise.
  1897.         (__cxa_vec_new3): Likewise.
  1898.         (__cxa_vec_cdtor): Likewise.
  1899.         (__cxa_vec_cctor): Likeiwse.
  1900.         (__cxa_vec_dtor): Likewise.
  1901.         (__cxa_vec_cleanup): Likewise.
  1902.         (__cxa_vec_delete2): Likewise.
  1903.         (__cxa_vec_delete3): Likewise.
  1904.         * libsupc++/vec.cc (__cxa_vec_new): Likewise.
  1905.         (__cxa_vec_new2): Likewise.
  1906.         (__cxa_vec_new3): Likewise.
  1907.         (__cxa_vec_cdtor): Likewise.
  1908.         (__cxa_vec_cctor): Likeiwse.
  1909.         (__cxa_vec_dtor): Likewise.
  1910.         (__cxa_vec_cleanup): Likewise.
  1911.         (__cxa_vec_delete2): Likewise.
  1912.         (__cxa_vec_delete3): Likewise.
  1913.         (__aeabi_vec_ctor_nocookie_nodtor): New function.
  1914.         (__aeabi_vec_ctor_cookie_nodtor): Likewise.
  1915.         (__aeabi_vec_cctor_nocookie_nodtor): Likewise.
  1916.         (__aeabi_vec_new_cookie_noctor): Likewise.
  1917.         (__aeabi_vec_new_nocookie): Likewise.
  1918.         (__aeabi_vec_new_cookie_nodtor): Likewise.
  1919.         (__aeabi_vec_new_cookie): Likewise.
  1920.         (__aeabi_vec_dtor): Likewise.
  1921.         (__aeabi_vec_dtor_cookie): Likewise.
  1922.         (__aeabi_vec_delete): Likewise.
  1923.         (__aeabi_vec_delete3): Likewise.
  1924.         (__aeabi_vec_delete3_nodtor): Likewise.
  1925.         (__aeabi_atexit): Likewise.
  1926.  
  1927. 2004-09-14  Nathan Myers  <ncm@cantrip.org>
  1928.  
  1929.         * include/bits/fstream.tcc (xsgetn): Slightly tweak the recent fix
  1930.         for 11722: copy can replace move; the common case is __avail == 0.
  1931.  
  1932. 2004-09-14  Paolo Carlini  <pcarlini@suse.de>
  1933.  
  1934.         * include/bits/cpp_type_traits.h: Rename __is_trivially_copyable
  1935.         to __is_scalar, more clear and consistent with "tr1" naming.
  1936.         * include/bits/stl_algobase.h: Update consistently throughout.
  1937.  
  1938. 2004-09-13  Paolo Carlini  <pcarlini@suse.de>
  1939.  
  1940.         PR libstdc++/11722
  1941.         * include/std/std_fstream.h (xsgetn): Declare only.
  1942.         * include/bits/fstream.tcc (xsgetn): Define, optimize for the
  1943.         always_noconv() case: when __n > __buflen, copy the available
  1944.         buffer and issue a direct read.
  1945.         * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New.
  1946.  
  1947.         * include/bits/fstream.tcc (xsputn): Minor tweak, reorder a
  1948.         conditional.
  1949.  
  1950. 2004-09-13  Hans-Peter Nilsson  <hp@bitrange.com>
  1951.  
  1952.         * testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call
  1953.         libstdc++_maybe_build_wrapper instead of using local code.
  1954.  
  1955. 2004-09-08  Benjamin Kosnik  <bkoz@redhat.com>
  1956.  
  1957.         * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports.
  1958.  
  1959. 2004-09-03  Jan Beulich  <jbeulich@novell.com>
  1960.  
  1961.         * crossconfig.m4: Add NetWare as a target.
  1962.         * configure: Regenerate.
  1963.  
  1964. 2004-09-02  Mark Mitchell  <mark@codesourcery.com>
  1965.  
  1966.         * libsupc++/typeinfo: Honor __GXX_MERGED_TYPEINFO_NAMES if already
  1967.         defined.
  1968.  
  1969. 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
  1970.             Simon Richter  <Simon.Richter@hogyros.de>
  1971.  
  1972.         PR libstdc++/16715
  1973.         * include/bits/istream.tcc: Add extern template for iostream
  1974.         char and wchar_t instantiations.
  1975.  
  1976. 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
  1977.             Leland Wang  <llwang@infor.org>
  1978.  
  1979.         PR libstdc++/17259
  1980.         * include/ext/ropeimpl.h (rope::_S_compare): Use
  1981.         _Rope_constants::_S_leaf.
  1982.  
  1983. 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
  1984.  
  1985.         PR libstdc++/16848
  1986.         * include/Makefile.am (ext_headers): Remove demangle.h.
  1987.         * include/Makefile.in: Regenerate.
  1988.         * include/ext/demangle.h: Remove.
  1989.  
  1990. 2004-09-01  Benjamin Kosnik  <bkoz@redhat.com>
  1991.  
  1992.         PR libstdc++/16614
  1993.         * include/ext/mt_allocator.h (__mt_base): Not type dependent,
  1994.         split into..
  1995.         (__pool): New, specialize.
  1996.         (__common_pool): New, static bits here.
  1997.         (__per_type_pool): New, and here.
  1998.         (__mt_alloc_base): New.
  1999.         (__mt_alloc): Add template parameter, inherit from it.
  2000.         * src/allocator.cc: Split this...
  2001.         * src/allocator-inst.cc: And this...
  2002.         * src/pool_allocator.cc: ...into this.
  2003.         * src/mt_allocator.cc: ... and this. Add definitions for
  2004.         __mt_base.
  2005.         * src/Makefile.am (sources): Split allocator.cc to
  2006.         pool_allocator.cc and mt_allocator.cc.
  2007.         * src/Makefile.in: Regenerate.
  2008.         * config/linker-map.gnu: Add symbols.
  2009.         * docs/html/ext/mt_allocator.html: Document new design.
  2010.         * testsuite/ext/mt_allocator/tune-1.cc: New.
  2011.         * testsuite/ext/mt_allocator/tune-2.cc: New.
  2012.         * testsuite/ext/mt_allocator/tune-3.cc: New.
  2013.         * testsuite/ext/mt_allocator/tune-4.cc: New.
  2014.  
  2015.         * testsuite/testsuite_allocator.h (__gnu_test::check_new): New.
  2016.         * testsuite/ext/allocators.cc: Use check_new, split into...
  2017.         * testsuite/ext/mt_allocator/check_new.cc: this.
  2018.         * testsuite/ext/pool_allocator/check_new.cc: this.
  2019.         * testsuite/ext/malloc_allocator/check_new.cc: this.
  2020.         * testsuite/ext/debug_allocator/check_new.cc: this.
  2021.         * testsuite/ext/mt_allocator/instantiate.cc: this.
  2022.         * testsuite/ext/pool_allocator/instantiate.cc: this.
  2023.         * testsuite/ext/malloc_allocator/instantiate.cc: this.
  2024.         * testsuite/ext/debug_allocator/instantiate.cc: this.
  2025.  
  2026. 2004-08-30  Phil Edwards  <phil@codesourcery.com>
  2027.  
  2028.         * docs/html/install.html:  Update locales list (from Paolo).
  2029.         Remove other redundant information and point to the GCC install
  2030.         documentation.
  2031.  
  2032. 2004-08-30  Benjamin Kosnik  <bkoz@redhat.com>
  2033.  
  2034.         * include/ext/pool_allocator.h: Rename __pool_base to
  2035.         __pool_alloc_base.
  2036.         * src/allocator.cc: Same.
  2037.         * config/linker-map.gnu: Same.
  2038.  
  2039. 2004-08-30  Paolo Carlini  <pcarlini@suse.de>
  2040.             Kenneth C. Schalk  <ken@xorian.net>
  2041.  
  2042.         PR libstdc++/17215
  2043.         * config/io/basic_file_stdio.cc (__basic_file<char>::close()):
  2044.         Check the return value of fclose/sync, loop on EINTR.
  2045.         (__basic_file<char>::sys_open): Likewise, for sync.
  2046.  
  2047. 2004-08-29  Paolo Carlini  <pcarlini@suse.de>
  2048.  
  2049.         * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format,
  2050.         case 'S'): Allow for at least one leap-second (as per C99, 7.23.1
  2051.         and 7.23.3.5), two if !_GLIBCXX_USE_C99.
  2052.         * testsuite/22_locale/time_get/get_time/char/4.cc: New.
  2053.         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
  2054.  
  2055. 2004-08-27  Jason Merrill  <jason@redhat.com>
  2056.  
  2057.         PR c++/13684
  2058.         * libsupc++/guard.cc (static_mutex): Internal class implementing a
  2059.         recursive mutex which controls initialization of local statics.
  2060.         (__gnu_cxx::recursive_init): New exception class.
  2061.         (__cxa_guard_acquire): Deal with locking and recursion detection.
  2062.         (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise.
  2063.  
  2064. 2004-08-27  Matthias Klose  <doko@debian.org>
  2065.  
  2066.         * configure.host: For mips*-*-linux* update cpu_include_dir
  2067.         after atomicity_dir is set.
  2068.  
  2069. 2004-08-27  Matthias Klose  <doko@debian.org>
  2070.  
  2071.         * config/abi/arm-linux-gnu/baseline_symbols.txt: New.
  2072.         * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
  2073.         * configure.host: Set abi_baseline_pair for arm*-*-linux* and
  2074.         mips*-*-linux*.
  2075.  
  2076. 2004-08-27  Paolo Carlini  <pcarlini@suse.de>
  2077.  
  2078.         * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: New.
  2079.         * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise.
  2080.         * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise.
  2081.         * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise.
  2082.         * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
  2083.  
  2084.         * testsuite/27_io/manipulators/adjustfield/char/1.cc: Minor
  2085.         formatting fixes.
  2086.         * testsuite/27_io/manipulators/adjustfield/char/2.cc: Likewise.
  2087.         * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise.
  2088.         * testsuite/27_io/manipulators/standard/char/1.cc: Likewise.
  2089.         * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
  2090.  
  2091. 2004-08-25  Paolo Carlini  <pcarlini@suse.de>
  2092.  
  2093.         PR libstdc++/17038 (partial)
  2094.         * include/bits/locale_facets.tcc (time_put<>::do_put): Increase
  2095.         __maxlen to 128.
  2096.         * include/bits/locale_facets.h (class __timepunct): Add FIXME
  2097.         comment about _M_put.
  2098.         * config/locale/generic/time_members.cc (_M_put): Always null
  2099.         terminate __s.
  2100.         * config/locale/gnu/time_members.cc (_M_put): Likewise.
  2101.         * testsuite/22_locale/time_put/put/char/17038.cc: New.
  2102.         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New.
  2103.  
  2104. 2004-08-24  Paolo Carlini  <pcarlini@suse.de>
  2105.  
  2106.         * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: New.
  2107.         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
  2108.         * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise.
  2109.         * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise.
  2110.         * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
  2111.         * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise.
  2112.  
  2113.         * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Trim excess
  2114.         newlines.
  2115.         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise.
  2116.  
  2117. 2004-08-22  Matthias Klose  <doko@debian.org>
  2118.  
  2119.         * config/abi/m68k-linux-gnu/baseline_symbols.txt: New.
  2120.         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
  2121.  
  2122. 2004-08-23  Paolo Carlini  <pcarlini@suse.de>
  2123.  
  2124.         * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE.
  2125.         * aclocal.m4: Regenerate with automake-1.9.1.
  2126.         * configure: Regenerate.
  2127.         * Makefile.in: Likewise.
  2128.         * include/Makefile.in: Likewise.
  2129.         * libmath/Makefile.in: Likewise.
  2130.         * libsupc++/Makefile.in: Likewise.
  2131.         * po/Makefile.in: Likewise.
  2132.         * src/Makefile.in: Likewise.
  2133.         * testsuite/Makefile.in: Likewise.
  2134.  
  2135. 2004-08-22  Paolo Carlini  <pcarlini@suse.de>
  2136.  
  2137.         * include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast
  2138.         to a signed type, long according to the resolution of DR 359.
  2139.         * testsuite/22_locale/num_put/put/char/9.cc: New.
  2140.         * testsuite/22_locale/num_put/put/wchar_t/9.cc: New.
  2141.  
  2142.         * include/bits/locale_facets.tcc (num_put<>::do_put(const void*)):
  2143.         Simplify a bit: no need to clear showpos.
  2144.  
  2145. 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
  2146.  
  2147.         * include/bits/char_traits.h (struct _Char_traits_match): Remove,
  2148.         unused.
  2149.  
  2150. 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
  2151.  
  2152.         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper
  2153.         wchar_t type for the fill argument; minor formatting tweaks.
  2154.         * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
  2155.         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
  2156.         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
  2157.         * testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise.
  2158.         * testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise.
  2159.         * testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise.
  2160.  
  2161. 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
  2162.  
  2163.         * include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal
  2164.         with _M_word != _M_local_word two times, redundantly.
  2165.  
  2166. 2004-08-20  Jason Merrill  <jason@redhat.com>
  2167.  
  2168.         * include/Makefile.am (${host_builddir}/gthr.h): Don't add
  2169.         _GLIBCXX_ to #pragma lines.
  2170.         * include/Makefile.in: Update.
  2171.  
  2172. 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
  2173.  
  2174.         PR libstdc++/7219 (continued)
  2175.         * include/bits/ios_base.h (class ios_base): Expose Annex D.6
  2176.         typedefs by default.
  2177.         * testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED.
  2178.         * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error
  2179.         line number.
  2180.         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
  2181.  
  2182. 2004-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
  2183.  
  2184.         * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory
  2185.         barrier to locking asm.
  2186.  
  2187. 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
  2188.  
  2189.         * include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
  2190.         actually the warning is a front-end bug (c++/17120).
  2191.  
  2192. 2004-08-20  Matthias Klose  <doko@debian.org>
  2193.  
  2194.         * config/abi/s390-linux-gnu/baseline_symbols.txt: New.
  2195.  
  2196. 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
  2197.  
  2198.         * include/c_std/cmath.tcc (__cmath_power): Suppress assignment
  2199.         used as truth value warning.
  2200.  
  2201. 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
  2202.  
  2203.         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit
  2204.         baseline.
  2205.  
  2206. 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
  2207.  
  2208.         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it.
  2209.  
  2210. 2004-08-19  Benjamin Kosnik  <bkoz@redhat.com>
  2211.  
  2212.         * testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check
  2213.         timezone.
  2214.         * testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same.
  2215.  
  2216. 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
  2217.  
  2218.         * testsuite/performance/20_util/allocator/insert.cc: For std::map
  2219.         instantiate the allocator for a correct pair type.
  2220.         * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
  2221.         * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
  2222.         * testsuite/performance/20_util/allocator/producer_consumer.cc:
  2223.         Likewise.
  2224.  
  2225.         * testsuite/performance/20_util/allocator/list_sort_search.cc: Very
  2226.         minor formatting fixes.
  2227.         * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
  2228.  
  2229. 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
  2230.  
  2231.         * testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the
  2232.         results.
  2233.         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
  2234.         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
  2235.         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
  2236.         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
  2237.         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
  2238.         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
  2239.         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
  2240.  
  2241. 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
  2242.  
  2243.         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
  2244.  
  2245. 2004-08-18  Matthias Klose  <doko@debian.org>
  2246.  
  2247.         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
  2248.         * config/abi/i386-linux-gnu/baseline_symbols.txt: New.
  2249.         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New.
  2250.  
  2251. 2004-08-17  Paolo Carlini  <pcarlini@suse.de>
  2252.  
  2253.         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
  2254.  
  2255. 2004-08-17  Paolo Carlini  <pcarlini@suse.de>
  2256.  
  2257.         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
  2258.  
  2259. 2004-08-17  Benjamin Kosnik  <bkoz@redhat.com>
  2260.  
  2261.         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
  2262.  
  2263. 2004-08-16  Paolo Carlini  <pcarlini@suse.de>
  2264.  
  2265.         * include/bits/indirect_array.h: Trivial formatting fixes.
  2266.         * include/bits/valarray_after.h: Likewise.
  2267.         * include/bits/valarray_array.h: Likewise.
  2268.         * src/valarray-inst.cc: Likewise.
  2269.  
  2270. 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
  2271.  
  2272.         * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
  2273.         * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
  2274.         * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
  2275.  
  2276.         * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
  2277.         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
  2278.         * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
  2279.         * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
  2280.         * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
  2281.  
  2282. 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
  2283.  
  2284.         * include/bits/deque.tcc: Trivial formatting fixes.
  2285.  
  2286. 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
  2287.  
  2288.         * include/bits/deque.tcc: Trivial formatting fixes.
  2289.  
  2290.         * include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
  2291.         Remove unneded typedef.
  2292.  
  2293.         * include/bits/locale_facets.tcc: Very minor tweaks.
  2294.  
  2295.         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
  2296.         type for the fill argument.
  2297.         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
  2298.         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
  2299.         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
  2300.         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
  2301.         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
  2302.         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
  2303.         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
  2304.         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
  2305.  
  2306. 2004-08-13  Paolo Carlini  <pcarlini@suse.de>
  2307.  
  2308.         * src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
  2309.         memmove is not needed, memcpy suffices.
  2310.  
  2311. 2004-08-13  Paolo Carlini  <pcarlini@suse.de>
  2312.  
  2313.         * include/std/std_fstream.h (class basic_ifstream,
  2314.         class basic_ofstream, class basic_fstream): Add const overloads
  2315.         of is_open, as per DR 365 [WP].
  2316.         * docs/html/ext/howto.html: Add an entry for DR 365.
  2317.  
  2318. 2004-08-12  Paolo Carlini  <pcarlini@suse.de>
  2319.  
  2320.         * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
  2321.  
  2322. 2004-08-12  Paolo Carlini  <pcarlini@suse.de>
  2323.  
  2324.         PR libstdc++/16956
  2325.         * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
  2326.         to the returned value, reorganize a bit.
  2327.         * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
  2328.         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.
  2329.  
  2330.         * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
  2331.         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
  2332.         * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
  2333.         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
  2334.  
  2335. 2004-08-12  Paul Brook  <paul@codesourcery.com>
  2336.  
  2337.         * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
  2338.         _GLIBCXX_CXA_VEC_CTOR_RETURN.
  2339.         * config/cpu/generic/cxxabi_tweaks.h: Ditto.
  2340.         * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
  2341.         __cxa_vec_ctor_return.
  2342.         * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
  2343.         Use _GLIBCXX_CXA_VEC_CTOR_RETURN.
  2344.  
  2345. 2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
  2346.  
  2347.         * Makefile.in, aclocal.m4, configure, include/Makefile.in,
  2348.         libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
  2349.         src/Makefile.in, testsuite/Makefile.in: Regenerate
  2350.  
  2351. 2004-08-12  Jan Beulich  <jbeulich@novell.com>
  2352.  
  2353.         * config/locale/generic/ctype_members.cc
  2354.         (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
  2355.         initializer for return value, as that is invalid for enumerated types.
  2356.         * config/locale/gnu/ctype_members.cc
  2357.         (ctype<wchar_t>::_M_convert_to_wmask): Likewise.
  2358.  
  2359. 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
  2360.  
  2361.         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
  2362.  
  2363. 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
  2364.  
  2365.         * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test
  2366.         variable.
  2367.         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto.
  2368.         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk.
  2369.         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto.
  2370.         * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto.
  2371.         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto.
  2372.         * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto.
  2373.         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto.
  2374.         * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto.
  2375.         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto.
  2376.         * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto.
  2377.         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto.
  2378.         * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto.
  2379.         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto.
  2380.         * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto.
  2381.         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto.
  2382.         * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto.
  2383.         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto.
  2384.         * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto.
  2385.         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto.
  2386.         * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto.
  2387.         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto.
  2388.  
  2389. 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
  2390.             Petur Runolfsson  <peturr02@ru.is>
  2391.  
  2392.         PR libstdc++/16959
  2393.         * src/ios_init.cc (ios_base::sync_with_stdio): Make sure the
  2394.         standard streams are constructed.
  2395.         * testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New.
  2396.  
  2397. 2004-08-09  Paolo Carlini  <pcarlini@suse.de>
  2398.  
  2399.         * include/bits/stl_bvector.h: Trivial formatting fixes.
  2400.  
  2401. 2004-08-09  Paolo Carlini  <pcarlini@suse.de>
  2402.  
  2403.         * src/ios.cc (ios_base::_M_grow_words): Uglify the names.
  2404.  
  2405. 2004-08-07  Jonathan Wakely  <redi@gcc.gnu.org>
  2406.             Paolo Carlini  <pcarlini@suse.de>
  2407.  
  2408.         * src/debug.cc (_Error_formatter::_M_print_string): In order
  2409.         to print individual words from __string, _M_format_word can't
  2410.         be called since may be just sprintf, thus ignoring completely
  2411.         __n: instead, use memmove and append '\0' by hand.
  2412.  
  2413. 2004-08-07  Paolo Carlini  <pcarlini@suse.de>
  2414.  
  2415.         * config/locale/generic/c_locale.h (__convert_from_v): Don't
  2416.         use a default for __prec, assume __prec >= 0 and simplify.
  2417.         * config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
  2418.         * include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
  2419.         Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".
  2420.  
  2421. 2004-08-04  Phil Edwards  <phil@codesourcery.com>
  2422.  
  2423.         * docs/html/configopts.html:  Emphasize that options change.
  2424.         * docs/html/17_intro/configury.html:  Update links.
  2425.  
  2426. 2004-08-03  Paolo Carlini  <pcarlini@suse.de>
  2427.  
  2428.         * include/bits/list.tcc: Trivial formatting fixes.
  2429.  
  2430. 2004-08-03  Mark Mitchell  <mark@codesourcery.com>
  2431.  
  2432.         * libsupc++/new_op.cc: Update comments.
  2433.         * libsupc++/del_op.cc: Likewise.
  2434.  
  2435. 2004-08-02  Mark Mitchell  <mark@codesourcery.com>
  2436.  
  2437.         * libsupc++/cxxabi.h: Make all declarations have default
  2438.         visibility.
  2439.         * libsupc++/exception: Likewise.
  2440.         * libsupc++/new: Likewise.
  2441.         * libsupc++/typeinfo: Likewise.
  2442.         * libsupc++/unwind-cxx.h: Likewise.
  2443.         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
  2444.         the __cxxabiv1 namespace.
  2445.         (__cxa_free_exception): Likewise.
  2446.         * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
  2447.         (__cxa_bad_typeid): Likewise.
  2448.         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
  2449.         (__cxa_end_catch): Likewise.
  2450.         * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
  2451.         (__cxa_get_globals): Likewise.
  2452.         * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
  2453.         (__cxa_rethrow): Likewise.
  2454.         * libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
  2455.         * libsupc++/eh_type.cc: Include <cxxabi.h>.
  2456.  
  2457.         * Makefile.am (hosted_source): Add libmath and testsuite.
  2458.         (SUBDIRS): Remove them.
  2459.         * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
  2460.         on arm*-*-symbianelf*.
  2461.         * crossconfig.m4: Add arm*-*-symbianelf* support.
  2462.         * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
  2463.         when freestanding.  Do not bring names into std:: namespace with
  2464.         "using" when freestanding.  Declare required functions and macros
  2465.         when freestanding.
  2466.         * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
  2467.         when freestanding.
  2468.         * libsupc++/del_op.cc: Declare "free" only when freestanding.
  2469.         * libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
  2470.         (malloc): Declare when freestanding.
  2471.         (free): Likewise.
  2472.         (memset): Likewise.
  2473.         (__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
  2474.         for memset.
  2475.         (__cxa_free_exception): Likewise for free.
  2476.         * libsupc++/new_op.cc: Declare "malloc" when freestanding.
  2477.         * libsupc++/pure.cc (writestr): Define to nothing when
  2478.         freestanding.
  2479.         * libsupc++/vterminate.cc: Do not define anything when
  2480.         freestanding.
  2481.         * Makefile.in: Regenerated.
  2482.         * aclocal.m4: Likewise.
  2483.         * configure: Likewise.
  2484.         * include/Makefile.in: Likewise.
  2485.         * libmath/Makefile.in: Likewise.
  2486.         * libsupc++/Makefile.in: Likewise.
  2487.         * po/Makefile.in: Likewise.
  2488.         * src/Makefile.in: Likewise.
  2489.         * testsuite/Makefile.in: Likewise.
  2490.  
  2491. 2004-08-01  Matt Austern  <austern@apple.com>
  2492.  
  2493.         PR libstdc++/16844
  2494.         * include/bits/stl_list.h (_M_create_node): Remove unused
  2495.         zero-argument version.
  2496.         * include/ext/slist (_M_create_node): Pass two arguments to
  2497.         allocator's construct() member function.
  2498.         * testsuite/23_containers/deque/explicit_instantiation.cc: New.
  2499.         * testsuite/23_containers/list/explicit_instantiation.cc: New.
  2500.         * testsuite/23_containers/vector/explicit_instantiation.cc: New.
  2501.         * testsuite/23_containers/map/explicit_instantiation.cc: New.
  2502.         * testsuite/23_containers/set/explicit_instantiation.cc: New.
  2503.         * testsuite/23_containers/multimap/explicit_instantiation.cc: New.
  2504.         * testsuite/23_containers/multiset/explicit_instantiation.cc: New.
  2505.         * testsuite/ext/hash_set_explicit_instantiation.cc: New.
  2506.         * testsuite/ext/slist_explicit_instantiation.cc: New.
  2507.  
  2508. 2004-07-30  Paolo Carlini  <pcarlini@suse.de>
  2509.  
  2510.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
  2511.         num_get<>::_M_extract_int): In the main parsing loop delay the
  2512.         life of __q to the actual use point.
  2513.  
  2514. 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
  2515.  
  2516.         PR libstdc++/14220
  2517.         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
  2518.         Don't clip the precision passed down to __convert_from_v:
  2519.         22.2.2.2.2 nowhere says so.
  2520.         * testsuite/22_locale/num_put/put/char/14220.cc: New.
  2521.         * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
  2522.  
  2523. 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
  2524.  
  2525.         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
  2526.  
  2527. 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
  2528.             Petur Runolfsson  <peturr02@ru.is>
  2529.  
  2530.         PR libstdc++/12658 (continued)
  2531.         * src/locale_init.cc (locale::locale, locale::global): Use
  2532.         a single locale_mutex instead of two separate mutexes.
  2533.  
  2534. 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
  2535.  
  2536.         PR libstdc++/16813
  2537.         * include/debug/map.h (insert(_InputIterator, _InputIterator)):
  2538.         Fix typo.
  2539.         * testsuite/23_containers/map/insert/16813.cc: New.
  2540.  
  2541. 2004-07-29  Phil Edwards  <phil@codesourcery.com>
  2542.  
  2543.         * docs/html/faq/index.html:  Update version references.  Make
  2544.         clear that code from SGI has diverged greatly.  Remove references
  2545.         to library snapshots and what's-new sections.
  2546.         * docs/html/faq/index.txt:  Regenerate.
  2547.  
  2548. 2004-07-28  Matt Austern  <austern@apple.com>
  2549.  
  2550.         * include/bits/stl_construct.h (_Destroy): New three-argument
  2551.         overload that takes an allocator argument.  Another inline
  2552.         three-argument overload that takes std::allocator and dispatches
  2553.         to the two-argument version.
  2554.         * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
  2555.         Change return type to void to match uninitialized_fill_n.
  2556.         (__uninitialized_copy_a_): New function.  Like uninitialized_copy
  2557.         except that it takes an allocator and uses it for construct and
  2558.         destroy.  If the allocator is std::allocator, dispatches to
  2559.         uninitialized_copy.
  2560.         (__uninitialized_fill_a): Likewise.
  2561.         (__uninitialized_fill_n_a): Likewise.
  2562.         (__uninitialized_copy_copy): Give it an allocator argument.
  2563.         (__uninitialized_fill_copy): Likewise.
  2564.         (__uninitialized_copy_fill): Likewise.
  2565.         * include/bits/deque.tcc: Use new forms defined in stl_construct.h
  2566.         and stl_uninitialized.h.  Replace use of single-argument _Construct
  2567.         and _Destroy with use of allocator's construct and destroy methods.
  2568.         * include/bits/list.tcc: Likewise.
  2569.         * include/bits/stl_deque.h: Likewise.
  2570.         * include/bits/stl_list.h: Likewise.
  2571.         * include/bits/stl_tree.h: Likewise.
  2572.         * include/bits/stl_vector.h: Likewise.
  2573.         * include/bits/vector.tcc: Likewise.
  2574.         * include/ext/hashtable.h: Use rebind so that allocator_type
  2575.         has correct type for a container's allocator.  Replace use of
  2576.         single-argument _Construct and _Destroy with use of allocator's
  2577.         construct and destroy methods.
  2578.         * include/ext/memory (__uninitialized_copy_n_a): New function.
  2579.         Like uninitialized_copy_n except that it takes an extra parameter,
  2580.         an allocator, and uses it for construct and destroy operations.
  2581.         * include/ext/rope: Use new forms defined in stl_construct.h,
  2582.         stl_uninitialized.h, and ext/memory.  Replace use of single-argument
  2583.         _Construct and _Destroy with allocator construct and destroy methods.
  2584.         * include/ext/ropeimpl.h: Likewise.
  2585.         * include/ext/slist.h: Likewise.
  2586.         * testsuite/testsuite_allocator.h (check_construct_destroy): New.
  2587.         * testsuite/testsuite_allocator.cc (check_construct_destroy): New.
  2588.         * testsuite/23_containers/deque/check_construct_destroy.cc: New.
  2589.         * testsuite/23_containers/list/check_construct_destroy.cc: New.
  2590.         * testsuite/23_containers/set/check_construct_destroy.cc: New.
  2591.         * testsuite/23_containers/vector/check_construct_destroy.cc: New.
  2592.         * testsuite/ext/hash_check_construct_destroy.cc: New.
  2593.         * testsuite/ext/slist_check_construct_destroy.cc: New.
  2594.  
  2595. 2004-07-28  Alexandre Oliva  <aoliva@redhat.com>
  2596.  
  2597.         2003-10-01  Eric Christopher  <echristo@redhat.com>
  2598.         * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
  2599.         constraint.
  2600.         2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
  2601.         * config/cpu/sh/atomicity.h: New.  Use movli and movco on SH4a.
  2602.  
  2603. 2004-07-23  Benjamin Kosnik  <bkoz@redhat.com>
  2604.  
  2605.         PR libstdc++/16678
  2606.         * include/bits/locale_facets.tcc: Fix for -Werror.
  2607.  
  2608. 2004-07-23  Jonathan Wakely  <redi@gcc.gnu.org>
  2609.  
  2610.         * docs/html/debug.html: Say debug mode only available since 3.4.0.
  2611.  
  2612. 2004-07-21  Benjamin Kosnik  <bkoz@redhat.com>
  2613.  
  2614.         * docs/doxygen/mainpage.html: Clarify links.
  2615.         * docs/doxygen/stdheader.cc: Add files.
  2616.         * docs/doxygen/style.css: Remove bolds, add h2, h3 styles.
  2617.         * docs/doxygen/user.cfg.in: New options, wrap.
  2618.  
  2619. 2004-07-20  Danny Smith  <dannysmith@users.sourceforge.net>
  2620.  
  2621.         * include/c_std/std_cwchar.h (wcsstr): Correct signature.
  2622.  
  2623. 2004-07-19  Benjamin Kosnik  <bkoz@redhat.com>
  2624.  
  2625.         PR libstdc++/15488
  2626.         * testsuite/lib/libstdc++.exp (v3-copy-files): Revert.
  2627.  
  2628. 2004-07-17  Richard Sandiford  <rsandifo@redhat.com>
  2629.  
  2630.         PR bootstrap/16469
  2631.         * scripts/create_testsuite_files: Pass -print to find.
  2632.  
  2633. 2004-07-15  Paolo Carlini  <pcarlini@suse.de>
  2634.  
  2635.         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30.
  2636.         * docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402.
  2637.  
  2638. 2004-07-15  Jakub Jelinek  <jakub@redhat.com>
  2639.  
  2640.         PR libstdc++/14697
  2641.         * acinclude.m4 (glibcxx_shared_libgcc): Correct
  2642.         glibcxx_shared_libgcc test for multilibs.
  2643.         * configure: Rebuilt.
  2644.  
  2645. 2004-07-14  Paolo Carlini  <pcarlini@suse.de>
  2646.  
  2647.         PR libstdc++/16505
  2648.         * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
  2649.         the signature to return void, as per 20.4.4.3.
  2650.         * include/bits/stl_vector.h (vector::vector(size_type,
  2651.         const value_type&, const allocator_type&), vector::vector(size_type),
  2652.         vector::_M_initialize_dispatch): Adjust callers.
  2653.         * include/bits/vector.tcc (vector<>::_M_fill_assign,
  2654.         vector<>::_M_fill_insert): Likewise.
  2655.         * testsuite/20_util/memory/16505.cc: New.
  2656.  
  2657. 2004-07-14  Paolo Carlini  <pcarlini@suse.de>
  2658.  
  2659.         * testsuite/22_locale/locale/cons/12658_thread-1.cc,
  2660.         12658_thread-2.cc: Use __gnu_test::try_named_locale.
  2661.  
  2662. 2004-07-13  Benjamin Kosnik  <bkoz@redhat.com>
  2663.  
  2664.         * docs/html/ext/mt_allocator.html: Add docs for _Tune.
  2665.         * include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public.
  2666.         (__mt_alloc::_S_set_options): Same.
  2667.         Add to comments.
  2668.  
  2669. 2004-07-13  Benjamin Kosnik  <bkoz@redhat.com>
  2670.  
  2671.         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults
  2672.         for linux.
  2673.         * configure: Regenerated.
  2674.  
  2675. 2004-07-13  Paolo Carlini  <pcarlini@suse.de>
  2676.  
  2677.         * testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename
  2678.         to 12658_thread-1.cc and xfail.
  2679.         * testsuite/22_locale/locale/cons/12658_thread-2.c: New, much
  2680.         simpler version of 12658_thread-1.cc, still failing on 3_3 and
  2681.         not failing on 3_4/mainline - both on single processor and
  2682.         multiprocessor machines.
  2683.  
  2684. 2004-07-12  Benjamin Kosnik  <bkoz@redhat.com>
  2685.  
  2686.         * docs/html/abi.html: Remove non-public qualification.
  2687.  
  2688.         * include/bits/concurrence.h: Tweak comments.
  2689.  
  2690. 2004-07-11  Paolo Carlini  <pcarlini@suse.de>
  2691.  
  2692.         Add wchar_t counterparts of the basic_streambbuf<char> tests.
  2693.         * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New.
  2694.         * testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc:
  2695.         Likewise.
  2696.         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise.
  2697.         * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc,
  2698.         3599.cc: Likewise.
  2699.         * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
  2700.         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
  2701.         * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
  2702.         * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
  2703.         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc:
  2704.         Likewise.
  2705.         * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
  2706.  
  2707.         * testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor
  2708.         tweaks.
  2709.         * testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc:
  2710.         Likewise.
  2711.         * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
  2712.         * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
  2713.  
  2714. 2004-07-11  Phil Edwards  <phil@codesourcery.com>
  2715.  
  2716.         * acinclude.m4:  Cosmetic shell syntax fixes.
  2717.         * configure.ac:  Bring comment inline with reality.
  2718.         * configure.host:  Both of the above.  Move 'arm' case to right
  2719.         place in host_cpu switch.
  2720.         * aclocal.m4, configure:  Regenerate.
  2721.  
  2722. 2004-07-09  Paolo Carlini  <pcarlini@suse.de>
  2723.  
  2724.         Add wchar_t counterparts of the basic_stringbuf<char> tests.
  2725.         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New.
  2726.         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
  2727.         * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc,
  2728.         3599.cc, 9988.cc: Likewise.
  2729.         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc:
  2730.         Likewise.
  2731.         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc:
  2732.         Likewise.
  2733.         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc:
  2734.         Likewise.
  2735.         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc:
  2736.         Likewise.
  2737.         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
  2738.         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
  2739.         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
  2740.         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc:
  2741.         Likewise.
  2742.         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc,
  2743.         9404-1.cc: Likewise.
  2744.         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc,
  2745.         9404-2.cc: Likewise.
  2746.         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc,
  2747.         3955.cc: Likewise.
  2748.         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
  2749.         * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
  2750.  
  2751. 2004-07-08  Paolo Carlini  <pcarlini@suse.de>
  2752.  
  2753.         * include/bits/gslice.h: Trivial formatting fixes.
  2754.         * include/bits/gslice_array.h: Likewise.
  2755.         * include/bits/indirect_array.h: Likewise.
  2756.         * include/bits/mask_array.h: Likewise.
  2757.         * include/bits/slice_array.h: Likewise.
  2758.         * include/bits/valarray_after.h: Likewise.
  2759.         * include/bits/valarray_array.h: Likewise.
  2760.         * include/bits/valarray_before.h: Likewise.
  2761.         * include/std/std_valarray.h: Likewise.
  2762.  
  2763. 2004-07-08  Benjamin Kosnik  <bkoz@redhat.com>
  2764.  
  2765.         PR c++/16169
  2766.         * include/bits/basic_string.h (basic_string::operator=): Revert.
  2767.  
  2768. 2004-07-07  Benjamin Kosnik  <bkoz@redhat.com>
  2769.  
  2770.         * configure.ac (libtool_VERSION): To 6:2:0.
  2771.         * configure: Regenerated.
  2772.  
  2773.         * testsuite/testsuite_abi.cc (check_version): Add 3.4.2.
  2774.  
  2775. 2004-07-07  Aaron W. LaFramboise  <aaronraolete36@aaronwl.com>
  2776.  
  2777.         PR libstdc++/16411
  2778.         * config/linker-map.gnu: Add stdio_sync_filebuf::file exports.
  2779.  
  2780. 2004-07-07  Benjamin Kosnik  <bkoz@redhat.com>
  2781.  
  2782.         * docs/html/abi.html: Updates for 3.4.1 release. Add summary of
  2783.         -Weffc++ issues.
  2784.  
  2785. 2004-07-07  Paolo Carlini  <pcarlini@suse.de>
  2786.  
  2787.         PR libstdc++/16401
  2788.         * include/bits/sstream.tcc (overflow): When reallocating _M_string
  2789.         use an exponential grow policy.
  2790.         * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
  2791.         * testsuite/performance/27_io/stringbuf_overflow.cc: New.
  2792.  
  2793. 2004-07-06  Anssi Hannula  <anssi.hannula@mbnet.fi>
  2794.  
  2795.         PR libstdc++/15928
  2796.         * crossconfig.m4: Add in bits for djgpp.
  2797.         * configure: Regenerate.
  2798.  
  2799. 2004-07-05  Jonathan Wakely  <redi@gcc.gnu.org>
  2800.  
  2801.         * testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in
  2802.         instantiation of set and multiset (functor param given as int).
  2803.  
  2804. 2004-07-04  Paolo Carlini  <pcarlini@suse.de>
  2805.  
  2806.         * include/bits/basic_string.h: Trivial formatting fixes and/or
  2807.         const-ification of some variables.
  2808.         * include/bits/deque.tcc: Likewise.
  2809.         * include/bits/stl_algobase.h: Likewise.
  2810.         * include/bits/stl_bvector.h: Likewise.
  2811.         * include/bits/stl_construct.h: Likewise.
  2812.         * include/bits/stl_deque.h: Likewise.
  2813.         * include/bits/stl_pair.h: Likewise.
  2814.         * include/bits/stl_vector.h: Likewise.
  2815.         * include/bits/vector.tcc: Likewise.
  2816.  
  2817. 2004-07-04  Paolo Carlini  <pcarlini@suse.de>
  2818.  
  2819.         * testsuite/25_algorithms/copy/1.cc: Add instantiations for
  2820.         systems with no COMDAT or weak support.
  2821.         * testsuite/25_algorithms/copy/2.cc: Likewise.
  2822.         * testsuite/25_algorithms/copy/3.cc: Likewise.
  2823.         * testsuite/25_algorithms/copy/4.cc: Likewise.
  2824.  
  2825. 2004-07-03  Paul Brook  <paul@codesourcery.com>
  2826.  
  2827.         * configure.ac: Set ABI_TWEAKS_SRCDIR.
  2828.         * configure.host: Set abi_tweaks_dir.  Check for atomicity.h when
  2829.         setting atomicity_dir.  Override type_cpu for arm based targets.
  2830.         * include/Makefile.am (host_headers): Add cxxabi_tweaks.h.
  2831.         * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard.
  2832.         * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h.
  2833.         * libsupc++/vec.cc: Ditto.
  2834.         * config/cpu/arm/cxxabi_tweaks.h: New file.
  2835.         * config/cpu/generic/cxxabi_tweaks.h: New file.
  2836.         * */Makefile.in: Regenerate.
  2837.         * configure: Regenerate.
  2838.  
  2839. 2004-07-02  Paolo Carlini  <pcarlini@suse.de>
  2840.  
  2841.         * include/bits/type_traits.h (_Is_normal_iterator): Move...
  2842.         * include/bits/cpp_type_traits.h: ... here, renamed to
  2843.         __is_normal_iterator and consistent with the other traits.
  2844.         * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
  2845.         to the struct __copy_normal and three specializations.
  2846.         (__copy_backward_output_normal_iterator,
  2847.         __copy_backward_input_normal_iterator): Likewise, convert to
  2848.         the struct __copy_backward_normal and three specializations.
  2849.         (copy, copy_backward): Use the latter.
  2850.         (__copy_aux, __copy_backward_aux): Very minor tweaks.
  2851.  
  2852. 2004-07-01  Paolo Carlini  <pcarlini@suse.de>
  2853.  
  2854.         * include/bits/stl_algobase.h (__copy_trivial): Remove.
  2855.         (__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
  2856.         __is_trivially_copyable, __are_same and __copy::copy.
  2857.         (__copy): Rewrite as a class template and two specializations.
  2858.         (__copy_ni2): Simplify, just call __copy_aux.
  2859.  
  2860.         * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
  2861.         check.
  2862.         * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
  2863.         for destination value type != source value type.
  2864.  
  2865. 2004-07-01  Benjamin Kosnik  <bkoz@redhat.com>
  2866.             Per Bothner  <per@bothner.com>
  2867.             Mohan Embar  <gnustuff@thisiscool.com>
  2868.  
  2869.         PR libstdc++/16248
  2870.         * include/bits/concurrence.h (__glibcxx_mutex_type): New.
  2871.         (__glibcxx_mutex): Encapsulate mutex init function into type for
  2872.         threaded configurations without __GTHREAD_MUTEX_INIT.
  2873.         (lock::lock): Make device member a reference.
  2874.         (lock::~lock): Same.
  2875.         * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
  2876.         to mutex_type.
  2877.         * src/allocator.cc: Same.
  2878.  
  2879. 2004-06-30  Brad Spencer  <spencer@infointeractive.com>
  2880.  
  2881.         * include/ext/mt_allocator.h: Handle allocations at static
  2882.         initialization that happen before _S_options is (automatically)
  2883.         constructed; set _S_init even if _M_force_new is true.
  2884.  
  2885. 2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
  2886.  
  2887.         * config/linker-map.gnu: Revert new exports.
  2888.  
  2889. 2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
  2890.             Stuart Anderson  <anderson@netsweng.com>
  2891.  
  2892.         * config/linker-map.gnu: Add destructor exports for abstract base
  2893.         classes to conform to LSB.
  2894.  
  2895. 2004-06-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
  2896.             Paolo Carlini  <pcarlini@suse.de>
  2897.  
  2898.         * include/bits/cpp_type_traits.h: Add __is_pointer and
  2899.         __is_trivially_copyable.
  2900.         * include/bits/stl_algobase.h (fill, fill_n): Slightly
  2901.         tweak to use the latter.
  2902.         (__copy_backward_dispatch): Remove.
  2903.         (__copy_backward_aux): Rewrite to use __is_pointer and
  2904.         __is_trivially_copyable and __copy_backward::copy_b.
  2905.         (__copy_backward): Rewrite as a class template and two
  2906.         specializations.
  2907.  
  2908. 2004-06-30  Paolo Carlini  <pcarlini@suse.de>
  2909.  
  2910.         * testsuite/25_algorithms/copy.cc: Move to...
  2911.         * testsuite/25_algorithms/copy/1.cc: ... here, extend.
  2912.         * testsuite/25_algorithms/copy/2.cc: New.
  2913.         * testsuite/25_algorithms/copy/3.cc: New.
  2914.         * testsuite/25_algorithms/copy/4.cc: New.
  2915.  
  2916. 2004-06-29  Paul Brook  <paul@codesourcery.com>
  2917.  
  2918.         * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
  2919.         element size in the cookie.
  2920.  
  2921. 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
  2922.  
  2923.         * include/bits/cpp_type_traits.h: Move the additions to
  2924.         namespace __gnu_internal outside of namespace std; trivial
  2925.         formatting fixes.
  2926.  
  2927. 2004-06-28  Benjamin Kosnik  <bkoz@redhat.com>
  2928.  
  2929.         * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
  2930.         Revert -Weffc++ changes that defined copy ctory and or assignment
  2931.         operator.
  2932.         * libsupc++/tinfo.cc (__upcast_result): Same.
  2933.  
  2934. 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
  2935.  
  2936.         * src/localename.cc (locale::_Impl::_Impl): Slightly improve
  2937.         the algorithm used to name the categories.
  2938.  
  2939. 2004-06-28  Paolo Bonzini  <bonzini@gnu.org>
  2940.  
  2941.         * include/Makefile.am: Give a .gch extension to
  2942.         the PCH files, not only to the directory.
  2943.         * include/Makefile.in: Regenerate.
  2944.  
  2945. 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
  2946.  
  2947.         * config/locale/gnu/monetary_members.cc
  2948.         (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
  2949.         assignments of _M_decimal_point and _M_thousands_sep.
  2950.  
  2951. 2004-06-27  Paolo Carlini  <pcarlini@suse.de>
  2952.  
  2953.         * docs/html/17_intro/contribute.html: Update some links.
  2954.         * docs/html/17_intro/porting-howto.html: Likewise.
  2955.         * docs/html/17_intro/porting-howto.xml: Likewise.
  2956.         * docs/html/18_support/howto.html: Likewise.
  2957.         * docs/html/21_strings/howto.html: Likewise.
  2958.         * docs/html/27_io/howto.html: Likewise.
  2959.         * docs/html/configopts.html: Likewise.
  2960.         * docs/html/ext/howto.html: Likewise.
  2961.         * docs/html/faq/index.html: Likewise.
  2962.         * docs/html/install.html: Don't mention 2.x compilers.
  2963.  
  2964. 2004-06-27  Paolo Carlini  <pcarlini@suse.de>
  2965.  
  2966.         * include/ext/rope: Trivial formatting fixes.
  2967.         * include/ext/ropeimpl.h: Likewise.
  2968.  
  2969. 2004-06-26  Paolo Carlini  <pcarlini@suse.de>
  2970.  
  2971.         PR libstdc++/16210
  2972.         * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
  2973.         availability of strto(u)ll, not used anymore in the iostreams.
  2974.         * configure: Regenerate.
  2975.  
  2976. 2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
  2977.  
  2978.         PR libstdc++/16182
  2979.         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
  2980.         AC_DEFINE_UNQUOTED.
  2981.         * configure: Regenerate.
  2982.  
  2983. 2004-06-25  Paul Brook  <paul@codesourcery.com>
  2984.  
  2985.         * libsupc++/cxxabi.h: Define __ARM_EABI__
  2986.         (__guard): Use it.
  2987.         * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
  2988.  
  2989. 2004-06-25  Paul Brook  <paul@codesourcery.com>
  2990.  
  2991.         * include/bits/concurrence.h: Still create mutex object when
  2992.         single-threaded.
  2993.  
  2994. 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
  2995.  
  2996.         * include/bits/stl_algobase.h (fill, fill_n): Revert last
  2997.         change: actually we need to copy construct an object of type
  2998.         _Tp, not of type iterator_traits<>::value_type, therefore the
  2999.         code is ok.
  3000.  
  3001. 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
  3002.  
  3003.         * include/bits/stl_algobase.h (fill, fill_n): Tighten the
  3004.         dispatch: use iterator_traits<>::value_type, not _Tp.
  3005.  
  3006. 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
  3007.  
  3008.         * testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
  3009.         * testsuite/25_algorithms/fill/2.cc: Likewise.
  3010.  
  3011. 2004-06-25  Dan Nicolaescu  <dann@ics.uci.edu>
  3012.             Paolo Carlini  <pcarlini@suse.de>
  3013.  
  3014.         * include/bits/stl_algobase.h (__fill, __fill_n): New helpers
  3015.         for fill and fill_n, respectively: when copying is cheap, use a
  3016.         temporary to avoid a memory read in each iteration.
  3017.  
  3018. 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
  3019.  
  3020.         * testsuite/25_algorithms/fill/1.cc: New.
  3021.         * testsuite/25_algorithms/fill/2.cc: Likewise.
  3022.  
  3023. 2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
  3024.  
  3025.         * include/debug/formatter.h (__gnu_debug::_Error_formatter):
  3026.         Remove copy constructor and assignment operator.
  3027.  
  3028. 2004-06-24  Benjamin Kosnik  <bkoz@redhat.com>
  3029.  
  3030.         * include/bits/concurrence.h (__gnu_cxx::lock): New.
  3031.         * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
  3032.         (__pool_base::_M_get_mutex): New.
  3033.         * include/bits/allocator.h: Tweak.
  3034.         * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
  3035.         * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
  3036.         * include/bits/stl_threads.h: Remove.
  3037.         * include/Makefile.am: Also here.
  3038.         * include/Makefile.in: Regenerate.
  3039.  
  3040.         * src/locale_init.cc: Use __gnu_cxx::lock.
  3041.  
  3042.         * src/allocator.cc: Move all instantiations...
  3043.         * src/allocator-inst.cc: ...here.
  3044.  
  3045. 2004-06-23  Andrew Pinski  <apinski@apple.com>
  3046.  
  3047.         * linkage.m4: Remove check for libmx.
  3048.         * configure: Regenerate.
  3049.  
  3050. 2004-06-23  Paolo Carlini  <pcarlini@suse.de>
  3051.  
  3052.         PR libstdc++/16154
  3053.         * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
  3054.         Don't require the _DefaultConstructibleConcept.
  3055.         (struct _ForwardIteratorConcept): Require it here.
  3056.  
  3057. 2004-06-22  Alexandre Oliva  <aoliva@redhat.com>
  3058.  
  3059.         * include/bits/istream.tcc (getline): Make sure arguments passed
  3060.         to min/max have the same type.
  3061.         * include/bits/locale_facets.tcc (__verify_grouping): Likewise.
  3062.         * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
  3063.  
  3064. 2004-06-22  Benjamin Kosnik  <bkoz@redhat.com>
  3065.  
  3066.         * docs/html/abi.html: Update links.
  3067.  
  3068. 2004-06-22  Paolo Carlini  <pcarlini@suse.de>
  3069.  
  3070.         * testsuite/26_numerics/complex_inserters_extractors.cc,
  3071.         complex_value.cc, buggy_complex.cc: Move to...
  3072.         * testsuite/26_numerics/complex/: ... here.
  3073.         * testsuite/26_numerics/c99_classification_macros_c++.cc,
  3074.         c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
  3075.         fabs_inline.cc: Move to...
  3076.         * testsuite/26_numerics/cmath/: ... here.
  3077.         * testsuite/26_numerics/binary_closure.cc, slice.cc,
  3078.         slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
  3079.         valarray_name_lookup.cc, valarray_operators.cc,
  3080.         valarray_subset_assignment.cc: Move to...
  3081.         * testsuite/26_numerics/valarray/: ... here (new dir).
  3082.         * testsuite/26_numerics/sum_diff.cc: Move to...
  3083.         * testsuite/26_numerics/numeric/: ... here (new dir).
  3084.  
  3085. 2004-06-22  Paolo Carlini  <pcarlini@suse.de>
  3086.  
  3087.         * include/std/std_istream.h (ignore(streamsize __n = 1,
  3088.         int_type __delim = traits_type::eof())): Split into...
  3089.         (ignore(), ignore(streamsize __n), ignore(streamsize __n,
  3090.         int_type __delim)): The first two can be much more simpler
  3091.         and efficient than the fully general case; also, the last
  3092.         two can take advantage of the same mechanism already used
  3093.         for getline.
  3094.         * include/bits/istream.tcc (ignore(streamsize __n = 1,
  3095.         int_type __delim = traits_type::eof()): Remove.
  3096.         (ignore(), ignore(streamsize __n), ignore(streamsize __n,
  3097.         int_type __delim)): New.
  3098.  
  3099. 2004-06-21  Loren J. Rittle  <ljrittle@acm.org>
  3100.  
  3101.         * config/linker-map.gnu: Use wildcards for
  3102.         __basic_file::sys_open(FILE*, _Ios_Openmode).
  3103.  
  3104. 2004-06-20  Paolo Carlini  <pcarlini@suse.de>
  3105.  
  3106.         * testsuite/27_io/basic_istream/ignore/char/3.cc: New.
  3107.  
  3108. 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
  3109.  
  3110.         * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
  3111.         the alignment requested.
  3112.         (__mt_alloc<>::_Tune::_Tune): Tweak consistently.
  3113.         (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
  3114.         (__mt_alloc<>::deallocate): Likewise.
  3115.  
  3116. 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
  3117.  
  3118.         PR libstdc++/16020
  3119.         * include/debug/safe_base.h
  3120.         (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
  3121.         _Safe_sequence_base::operator=): Provide definitions.
  3122.         * testsuite/23_containers/bitset/cons/16020.cc: New.
  3123.  
  3124. 2004-06-18  Benjamin Kosnik  <bkoz@redhat.com>
  3125.  
  3126.         * include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
  3127.         (__pool_base): Remove unused template parameter.  Add
  3128.         protected. Move lock data into __pool_base::_Lock. Remove static
  3129.         on member functions.
  3130.         (__pool_base::_M_get_free_list): New.
  3131.         (__pool_alloc): Move _S_force new here.
  3132.         * src/allocator.cc: Move out of line __pool_base definitions here.
  3133.         * config/linker-map.gnu: Export bits from __pool_base.
  3134.  
  3135. 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
  3136.  
  3137.         * config/locale/gnu/numeric_members.cc
  3138.         (numpunct<wchar_t>::_M_initialize_numpunct): Clean up
  3139.         assignments of _M_decimal_point and _M_thousands_sep.
  3140.         * config/locale/gnu/time_members.cc
  3141.         (__timepunct<wchar_t>::_M_initialize_timepunct): Clean up
  3142.         and reformat assignments of date and time fields.
  3143.  
  3144. 2004-06-16  Paolo Carlini  <pcarlini@suse.de>
  3145.  
  3146.         * include/ext/rope (rope(_CharT, const allocator_type&)): Fix
  3147.         to use _Data_allocate.
  3148.         * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
  3149.         (rope<>::_S_substring): Likewise.
  3150.         (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
  3151.         (rope<>::c_str()): Likewise.
  3152.         (rope<>::replace_with_c_str()): Likewise.
  3153.  
  3154.         * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
  3155.         Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
  3156.         not _RopeRep.
  3157.         (_Rope_iterator_base<>::_S_setcache): Likewise.
  3158.         (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
  3159.         (rope<>::_S_substring): Likewise.
  3160.         (rope<>::_S_dump): Likewise.
  3161.         (rope<>::_S_fetch_ptr): Likewise.
  3162.         (rope<>::_S_compare): Likewise.
  3163.         (rope<>::replace_with_c_str()): Likewise.
  3164.  
  3165.         * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
  3166.         * testsuite/ext/rope/2.cc: New.
  3167.  
  3168. 2004-06-16  Paolo Carlini  <pcarlini@suse.de>
  3169.             Matt Austern  <austern@apple.com>
  3170.  
  3171.         * testsuite/ext/rope/3.cc: New.
  3172.  
  3173. 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
  3174.  
  3175.         * acinclude.m4: Remove useless multilib configury.
  3176.         * Makefile.am: Remove useless multilib rules.
  3177.         * aclocal.m4: Regenerate.
  3178.         * Makefile.in: Regenerate.
  3179.         * configure: Regenerate.
  3180.  
  3181. 2004-06-15  Paolo Carlini  <pcarlini@suse.de>
  3182.  
  3183.         * include/ext/hashtable.h: Trivial formatting fixes.
  3184.         * include/ext/rb_tree: Likewise.
  3185.  
  3186. 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
  3187.  
  3188.         * include/ext/hash_map: Trivial formatting fixes.
  3189.         * include/ext/hash_set: Likewise.
  3190.         * include/ext/memory: Likewise.
  3191.         * include/ext/numeric: Likewise.
  3192.  
  3193. 2004-06-14  Benjamin Kosnik  <bkoz@redhat.com>
  3194.  
  3195.         * Makefile.in: Regenerate with automake 1.8.5.
  3196.         * aclocal.m4: Same.
  3197.         * include/Makefile.in: Same.
  3198.         * libmath/Makefile.in: Same.
  3199.         * libsupc++/Makefile.in: Same.
  3200.         * po/Makefile.in: Same.
  3201.         * src/Makefile.in: Same.
  3202.         * testsuite/Makefile.in: Same.
  3203.  
  3204. 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
  3205.  
  3206.         * include/ext/slist: Trivial formatting fixes.
  3207.  
  3208. 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
  3209.  
  3210.         * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
  3211.         Don't use the 'magic number' 10 in the computation of __minlen;
  3212.         never access __name past __minlen; in the loop over __i3, don't
  3213.         decrease __nmatches and increase __i3 at once, only either of
  3214.         the two; tidy.
  3215.  
  3216. 2004-06-13  Paolo Carlini  <pcarlini@suse.de>
  3217.  
  3218.         * include/bits/locale_facets.tcc (time_get<>::do_get_time,
  3219.         time_get<>::do_get_date): Use only once _M_extract_via_format,
  3220.         instead of going through "%X"/"%x" and calling it two times
  3221.         (+ using widen).
  3222.  
  3223. 2004-06-12  Paolo Carlini  <pcarlini@suse.de>
  3224.  
  3225.         * include/ext/algorithm: Trivial formatting fixes.
  3226.         * include/ext/functional: Likewise.
  3227.         * include/ext/hash_fun.h: Likewise.
  3228.         * include/ext/iterator: Likewise.
  3229.  
  3230. 2004-06-12  Paolo Carlini  <pcarlini@suse.de>
  3231.  
  3232.         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
  3233.         size_type)): Reimplement using std::search.
  3234.         * src/string-inst.cc: Instantiate std::search for char/wchar_t.
  3235.  
  3236. 2004-06-12  Dhruv Matani  <dhruvbird@gmx.net>
  3237.  
  3238.         * testsuite/performance/21_strings/string_find.cc: New.
  3239.  
  3240. 2004-06-10  Aaron W. LaFramboise  <aaronraolete36@aaronwl.com>
  3241.  
  3242.         * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
  3243.  
  3244. 2004-06-10  Jan van Dijk  <jan@etpmod.phys.tue.nl>
  3245.  
  3246.         * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
  3247.         this function return a value.
  3248.  
  3249. 2004-06-09  Paolo Carlini  <pcarlini@suse.de>
  3250.  
  3251.         PR libstdc++/15775
  3252.         * include/bits/stl_deque.h: Consistently with stl_set.h, define
  3253.         pointer as allocator's pointer, likewise for reference,
  3254.         const_pointer, and const_reference.
  3255.         * include/bits/stl_list.h: Likewise.
  3256.         * include/bits/stl_map.h: Likewise.
  3257.         * include/bits/stl_multimap.h: Likewise.
  3258.         * include/bits/stl_vector.h: Likewise.
  3259.  
  3260. 2004-06-09  Benjamin Kosnik  <bkoz@redhat.com>
  3261.  
  3262.         * crossconfig.m4: Remove signbit, signbitf, signbitl.
  3263.         * linkage.m4: Comment LIBMATHOBJS, tweak others.  AC_DEFINES for
  3264.         builtin math functions instead of AC_DEFINE_UNQUOTED.
  3265.         * configure: Regenerate.
  3266.  
  3267. 2004-06-08  Benjamin Kosnik  <bkoz@redhat.com>
  3268.  
  3269.         * docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
  3270.         * docs/doxygen/mainpage.html: Remove links.
  3271.  
  3272. 2004-06-08  Jason Merrill  <jason@redhat.com>
  3273.  
  3274.         * config/linker-map.gnu: Use wildcards for
  3275.         __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
  3276.  
  3277. 2004-06-08  Paolo Carlini  <pcarlini@suse.de>
  3278.  
  3279.         * include/ext/pool_allocator.h: Convert to a global free-list,
  3280.         as per the original SGI/HP design: move the implementation
  3281.         details to struct __pool_base, from which __pool_alloc derives.
  3282.         * src/allocator.cc: Instantiate __pool_base.
  3283.  
  3284. 2004-06-07  Dhruv Matani  <dhruvbird@gmx.net>
  3285.             Paolo Carlini  <pcarlini@suse.de>
  3286.  
  3287.         * testsuite/testsuite_performance.h
  3288.         (resource_counter::allocated_memory): Make it return the right
  3289.         number of bytes requested by the allocators/application. This is
  3290.         the sbrk+mmaped memory.
  3291.  
  3292. 2004-06-02  Gabriel Dos Reis  <gdr@integrable-solutions.net>
  3293.  
  3294.         * include/std/std_complex.h (log): Tidy.
  3295.  
  3296. 2004-05-31  Benjamin Kosnik  <bkoz@redhat.com>
  3297.  
  3298.         * config/linker-map.gnu (GLIBCXX_3.4.1): Add.
  3299.         * testsuite/testsuite_abi.cc: Same.
  3300.         * configure.ac (libtool_VERSION): Bump to 6:1:0.
  3301.         * configure: Regenerate.
  3302.         * aclocal.m4: Regenerate.
  3303.  
  3304. 2004-05-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
  3305.  
  3306.         * include/std/std_complex.h (complex<_Tp>): Properly indent
  3307.         to follow C++STYLE.
  3308.         (complex<>::__rep): New.
  3309.         (__complex_abs): New.  Dispatch to built-ins.
  3310.         (abs): Use them.
  3311.         (__complex_arg): New. Dispatch to built-ins.
  3312.         (arg): Use it.
  3313.         (__complex_cos): New. Dispatch to built-ins.
  3314.         (cos): Use it.
  3315.         (__complex_cosh): New. Dispatch to built-ins.
  3316.         (cosh): Use it.
  3317.         (__complex_exp): New. Dispatch to built-ins.
  3318.         (exp): Use it.
  3319.         (__complex_log): New. Dispatch to built-ins.
  3320.         (log): Use it.
  3321.         (__complex_sin): New. Dispatch to built-ins.
  3322.         (sin): Use it.
  3323.         (__complex_sinh): New. Dispatch to built-ins.
  3324.         (sinh): Use it.
  3325.         (__complex_sqrt): New. Dispatch to built-ins.
  3326.         (sqrt): Use it.
  3327.         (__complex_tan): New. Dispatch to built-ins.
  3328.         (tan): Use it.
  3329.         (__complex_tanh): New. Dispatch to built-ins.
  3330.         (tanh): Use it.
  3331.         (__complex_pow): New. Dispatch to built-ins.
  3332.         (pow): Use it.
  3333.  
  3334. 2004-05-29  Richard B. Kreckel  <Richard.Kreckel@Framatome-ANP.com>
  3335.             Benjamin Kosnik  <bkoz@redhat.com>
  3336.  
  3337.         PR libstdc++/14600
  3338.         * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
  3339.         * include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
  3340.         * config/io/basic_file_stdio.cc (__basic_file::file): New.
  3341.         * config/io/basic_file_stdio.h: Define.
  3342.  
  3343. 2004-05-27  Benjamin Kosnik  <bkoz@redhat.com>
  3344.  
  3345.         PR libstdc++/15675
  3346.         * docs/html/documentation.html: Update doxygen links for 3.4.0.
  3347.  
  3348. 2004-05-27  Jan Beulich  <jbeulich@novell.com>
  3349.  
  3350.         * scripts/create_testsuite_files: Tweak.
  3351.  
  3352. 2004-05-25  Benjamin Kosnik  <bkoz@redhat.com>
  3353.  
  3354.         PR libstdc++/15489
  3355.         * scripts/create_testsuite_files: Revert xtype change, add non-GNU
  3356.         bits to do the same thing.
  3357.  
  3358. 2004-05-24  Paolo Carlini  <pcarlini@suse.de>
  3359.  
  3360.         * include/bits/istream.tcc (ignore): Correctly deal with
  3361.         n == numeric_limits<streamsize>::max().
  3362.         * testsuite/27_io/basic_istream/ignore/char/2.cc: New.
  3363.  
  3364.         * include/bits/istream.tcc (basic_istream<>::getline): Prefer
  3365.         '_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
  3366.         __n == numeric_limits<>::min().
  3367.  
  3368.         * include/bits/istream.tcc: Minor tweaks.
  3369.  
  3370.         * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
  3371.         Tighten.
  3372.         * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
  3373.         Likewise.
  3374.         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
  3375.         Likewise.
  3376.         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
  3377.         Likewise.
  3378.         * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
  3379.  
  3380. 2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>
  3381.  
  3382.         PR libstdc++/12854
  3383.         Fixups for -Weffc++.
  3384.         * include/bits/basic_string.h (basic_string::operator=): Return
  3385.         pointer to this instead of result of assign. Although redundant,
  3386.         this doesn't impact resultant codegen.
  3387.  
  3388.         * include/bits/locale_facets.h (__numpunct_cache): Declare
  3389.         assignment opxserator and copy constructor private.
  3390.         (__timepunct_cache): Same.
  3391.         (__moneypunct_cache): Same.
  3392.         (collate): Use member initialization list for _M_c_locale_collate.
  3393.         * config/locale/gnu/messages_members.h: Same.
  3394.         * config/locale/gnu/time_members.h (__timepunct): Same.
  3395.         * src/codecvt.cc: Use member initialization list to initialize
  3396.         _M_c_locale_codecvt.
  3397.         * src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
  3398.         * config/os/gnu-linux/ctype_noninline.h: Same.
  3399.         * src/locale.cc (_Impl): Same.
  3400.         * src/locale_init.cc: Same.
  3401.         * src/localename.cc: Same.
  3402.  
  3403.         * include/bits/basic_ios.h (basic_ios): Complete member
  3404.         initialization list.
  3405.         * include/bits/istream.tcc (basic_istream::sentry): Same.
  3406.         * include/bits/ostream.tcc (basic_ostream::sentry): Same.
  3407.         * include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
  3408.         _M_pback to member initialization list.
  3409.         * include/std/std_streambuf.h: Same.
  3410.         * include/std/std_sstream.h: Same, for _M_mode.
  3411.         * src/ios.cc (ios_base): Same.
  3412.  
  3413.         * include/ext/rope: Make derived classes match exception
  3414.  
  3415.          specifications. Add copy constructors and assignment operators.
  3416.  
  3417.         * include/debug/safe_base.h (_Safe_sequence_base): Declare copy
  3418.         constructor and assignment operator protected.
  3419.         (_Safe_iterator_base): Same.
  3420.         * include/debug/formatter.h (_Error_formatter): Define copy
  3421.         constructor and assignment operator.
  3422.  
  3423.         * include/backward/strstream: Declare assignment operator and copy
  3424.         constructor private.
  3425.  
  3426. 2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>
  3427.  
  3428.         * testsuite/testsuite_hooks.h (func_callback): Declare copy
  3429.         constructor and assignment operator private.
  3430.         * testsuite/23_containers/deque/cons/clear_allocator.cc: Match
  3431.         exception specifications of base class.
  3432.         * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
  3433.         * testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
  3434.         * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
  3435.  
  3436. 2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>
  3437.  
  3438.         * libsupc++/cxxabi.h: Remove duplicated and useless public and
  3439.         private keywords in class declarations. Format. Use
  3440.         stddef.h. Expose declarations to "C" compilation.
  3441.         * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
  3442.         assignment operator.
  3443.         (__dyncast_result): Same.
  3444.         * libsupc++/vec.cc (uncatch_exception): Same, use member
  3445.         initialization list.
  3446.  
  3447. 2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>
  3448.  
  3449.         * testsuite/abi_check.cc: Add unistd.h.
  3450.  
  3451. 2004-05-22  Paolo Carlini  <pcarlini@suse.de>
  3452.  
  3453.         PR libstdc++/15565
  3454.         * include/bits/locale_facets.tcc (__int_to_char(unsigned long),
  3455.         __int_to_char(unsigned long long)): Showpos is not relevant
  3456.         for unsigned types.
  3457.         * testsuite/22_locale/num_put/put/char/15565.cc: New.
  3458.         * testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
  3459.  
  3460.         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
  3461.         char.
  3462.         * testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
  3463.         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
  3464.         * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
  3465.         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
  3466.         * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
  3467.         * testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
  3468.  
  3469. 2004-05-21  Matthias Klose  <doko@debian.org>
  3470.  
  3471.         * docs/doxygen/run_doxygen:  Bump required version.
  3472.  
  3473. 2004-05-21  Benjamin Kosnik  <bkoz@redhat.com>
  3474.  
  3475.         * docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
  3476.         * docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
  3477.  
  3478. 2004-05-21  Paolo Carlini  <pcarlini@suse.de>
  3479.  
  3480.         * include/bits/istream.tcc (ignore): Remove redundant line.
  3481.         (readsome): Tidy, closely following 27.6.1.3, p30.
  3482.  
  3483. 2004-05-20  Paolo Carlini  <pcarlini@suse.de>
  3484.  
  3485.         * include/bits/istream.tcc (operator>>(basic_istream<>&,
  3486.         basic_string<>&)): Use a temporary buffer, thus avoiding
  3487.         reallocation for common case.
  3488.         * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
  3489.         New.
  3490.         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
  3491.         Likewise.
  3492.  
  3493.         * include/bits/istream.tcc: Const-ification of a few variables.
  3494.  
  3495.         * include/bits/ostream.tcc: Trivial formatting fixes and
  3496.         const-ification of some variables.
  3497.  
  3498. 2004-05-20  Benjamin Kosnik  <bkoz@redhat.com>
  3499.  
  3500.         PR libstdc++/15123
  3501.         PR libstdc++/13928
  3502.         * docs/doxygen/Intro.3: Remove Allocators.3.
  3503.         Add new extension headers, extension namespace list.
  3504.         * docs/doxygen/run_doxygen (problematic): Remove Allocators.3
  3505.         Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
  3506.         __gnu_debug::. Remove __policy_ renames.
  3507.         * docs/doxygen/guide.html: Add dot note.
  3508.         * docs/doxygen/stdheader.cc: Edit, add files.
  3509.         * docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.
  3510.  
  3511. 2004-05-18  Jonathan Wakely  <redi@gcc.gnu.org>
  3512.  
  3513.         * include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
  3514.  
  3515. 2004-05-18  Jan Beulich  <jbeulich@novell.com>
  3516.  
  3517.         PR libstdc++/15489
  3518.         * scripts/create_testsuite_files: Also find source files through
  3519.         symbolic links.
  3520.  
  3521. 2004-05-18  Jan Beulich  <jbeulich@novell.com>
  3522.  
  3523.         PR libstdc++/15488
  3524.         * testsuite/lib/libstdc++.exp: Make test files writable.
  3525.  
  3526. 2004-05-18  Paolo Carlini  <pcarlini@suse.de>
  3527.  
  3528.         * include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
  3529.         tweaks.
  3530.  
  3531. 2004-05-18  Dhruv Matani  <dhruvbird@gmx.net>
  3532.  
  3533.         * include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
  3534.         allocation loop which removes blocks from the global free list
  3535.         from O(N) to O(1) when the required blocks are <= the number
  3536.         available.
  3537.  
  3538. 2004-05-18  Jonathan Wakely  <redi@gcc.gnu.org>
  3539.  
  3540.         * include/ext/enc_filebuf.h: Move concept-check macro to class scope.
  3541.  
  3542. 2004-05-17  Benjamin Kosnik  <bkoz@redhat.com>
  3543.  
  3544.         * testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
  3545.         * testsuite/23_containers/deque/14340.cc: New.
  3546.         * testsuite/23_containers/list/14340.cc: New.
  3547.         * testsuite/23_containers/map/14340.cc: New.
  3548.         * testsuite/23_containers/multimap/14340.cc: New.
  3549.         * testsuite/23_containers/multiset/14340.cc: New.
  3550.         * testsuite/23_containers/set/14340.cc: New.
  3551.         * testsuite/23_containers/vector/14340.cc: New.
  3552.  
  3553. 2004-05-17  Douglas Gregor   <gregod@cs.rpi.edu>
  3554.  
  3555.         PR libstdc++/14340
  3556.         * include/debug/safe_iterator.h (_Safe_iterator converting
  3557.         constructor): Only allow declaration to instantiate when the
  3558.         incoming _Safe_iterator has exactly the right iterator type.
  3559.  
  3560. 2004-05-17  Jonathan Wakely  <redi@gcc.gnu.org>
  3561.  
  3562.         * include/bits/boost_concept_check.h: Fix old attribute syntax.
  3563.         * testsuite/23_containers/map/modifiers/swap.cc: Define operator<
  3564.         to pass concept-checks.
  3565.         * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
  3566.         * testsuite/23_containers/set/modifiers/swap.cc: Same.
  3567.         * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
  3568.  
  3569. 2004-05-16  Paolo Carlini  <pcarlini@suse.de>
  3570.  
  3571.         * include/std/std_bitset.h: Minor formatting fixes.
  3572.  
  3573. 2004-05-16  Paolo Carlini  <pcarlini@suse.de>
  3574.  
  3575.         * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
  3576.         Consistently update __bin._M_free[0].
  3577.         (__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
  3578.         __bin._M_free[0] to simplify the while loop (i.e., the number
  3579.         of iterations becomes known at the outset).
  3580.  
  3581. 2004-05-15  Paolo Carlini  <pcarlini@suse.de>
  3582.  
  3583.         * include/std/std_bitset.h: Trivial formatting fixes.
  3584.  
  3585. 2004-05-14  Paolo Carlini  <pcarlini@suse.de>
  3586.             Ivan Godard  <igodard@pacbell.net>
  3587.  
  3588.         PR libstdc++/15361
  3589.         * include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
  3590.         * testsuite/23_containers/bitset/ext/15361.cc: New.
  3591.  
  3592. 2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>
  3593.  
  3594.         PR libstdc++/15046
  3595.         * crossconfig.m4: Add C99 math bits for linux crosses.
  3596.         * configure: Regenerate.
  3597.  
  3598. 2004-05-13  Simon Marshall <simon.marshall@misys.com>
  3599.             Benjamin Kosnik  <bkoz@redhat.com>
  3600.  
  3601.         PR libstdc++/15090
  3602.         * include/bits/locale_facets.h: Fix for -fno-for-scope.
  3603.         * include/debug/safe_sequence.h: Same.
  3604.         * include/debug/safe_iterator.tcc: Same.
  3605.         * src/debug.cc: Same.
  3606.         * src/locale.cc: Same.
  3607.         * src/locale_init.cc: Same.
  3608.         * src/localename.cc: Same.
  3609.         * config/locale/gnu/ctype_members.cc: Same.
  3610.         * config/locale/gnu/numeric_members.cc: Same.
  3611.         * testsuite/testsuite_abi.cc: Same.
  3612.         * testsuite/testsuite_hooks.cc: Same.
  3613.  
  3614. 2004-05-13  Jonathan Wakely  <redi@gcc.gnu.org>
  3615.  
  3616.         * docs/html/abi.html: Document effect of -fabi-version on value
  3617.         of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
  3618.         Fix markup.
  3619.  
  3620. 2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>
  3621.  
  3622.         PR libstdc++/15074
  3623.         * docs/html/faq/index.html: Update docs for libsupc++ usage.
  3624.  
  3625. 2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>
  3626.  
  3627.         PR libstdc++/15412
  3628.         * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
  3629.         __gnu_internal.
  3630.         (_GLIBCXX_mutex_address): Same.
  3631.         (_GLIBCXX_once): Same.
  3632.         (_GLIBCXX_mutex_init): Same.
  3633.         (_GLIBCXX_mutex_address_init): Same.
  3634.  
  3635. 2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>
  3636.  
  3637.         * docs/html/abi.html: New.
  3638.         * docs/html/abi.txt: Remove.
  3639.         * docs/html/documentation.html: Add link.
  3640.         * testsuite/Makefile.am: Add files.
  3641.         * testsuite/Makefile.in: Regenerated.
  3642.         * testsuite/abi_check.cc: Move and modify code into...
  3643.         * testsuite/testsuite_abi.cc: Add.
  3644.         * testsuite/testsuite_abi.h: Add.
  3645.  
  3646.         * docs/html/17_intro/TODO: Update.
  3647.         * include/bits/stl_pair.h: Format.
  3648.  
  3649. 2004-05-06  Matthias Klose  <doko@debian.org>
  3650.  
  3651.         * include/backward/iterator.h:  Add GPL copyright info,
  3652.         with exception clause.
  3653.         * include/bits/boost_concept_check.h: Likewise.
  3654.         * include
  3655.         * libsupc++/tinfo.h: Likewise.
  3656.         * po/string_literals.cc: Likewise.
  3657.  
  3658. 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
  3659.  
  3660.         * acinclude.m4: Replace -W with more speaking -Wextra.
  3661.         * configure: Rebuilt.
  3662.  
  3663. 2004-05-03  Paolo Carlini  <pcarlini@suse.de>
  3664.  
  3665.         Optimize locale::_M_impl->_M_names for the most common cases:
  3666.         !_M_names[0] means unnamed; !_M_names[1] means all the categories
  3667.         the same name (_M_names[0] && _M_names[1] means that the full set
  3668.         of _M_names must be processed, the general case).
  3669.         * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name):
  3670.         Tweak, saving work when !_M_names[1].
  3671.         (locale::locale(const locale&, _Facet*): Simplify: now just setting
  3672.         _M_names[0] = 0 means unnamed.
  3673.         * src/locale.cc (locale::operator==): Deal first with the common,
  3674.         easy cases, otherwise fall back to locale::name().
  3675.         (locale::name()): Tweak, if !_M_names[0] just return "*".
  3676.         (locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop
  3677.         copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1].
  3678.         * src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak.
  3679.         * src/localename.cc (locale::_Impl::_Impl(const char*, size_t):
  3680.         Simplify when !std::strchr, just updating _M_names[0]; clean up.
  3681.         (locale::_Impl::_M_replace_categories): When !_M_names[1] prepare
  3682.         for the general case (full set of names), then do the usual work;
  3683.         clean up.
  3684.  
  3685.         * src/locale.cc (locale::name()): Reserve space in __ret.
  3686.         * src/locale_init.cc (locale::global(const locale&)): Save
  3687.         the name in a temporary.
  3688.         * src/localename.cc (locale::locale(const char*)): Reserve space
  3689.         in __str.
  3690.  
  3691. 2004-04-29  Paolo Carlini  <pcarlini@suse.de>
  3692.  
  3693.         * src/locale.cc (locale::operator==): Always avoid constructing
  3694.         locale::name(), directly compare pairs of _M_names.
  3695.  
  3696. 2004-04-26  Paolo Carlini  <pcarlini@suse.de>
  3697.  
  3698.         * include/bits/istream.tcc: Fix comment.
  3699.  
  3700. 2004-04-26  Paolo Carlini  <pcarlini@suse.de>
  3701.  
  3702.         * include/bits/stl_vector.h: Trivial formatting fixes.
  3703.         * include/bits/vector.tcc: Likewise.
  3704.  
  3705. 2004-04-25  Paolo Carlini  <pcarlini@suse.de>
  3706.  
  3707.         PR libstdc++/15002 (continued again)
  3708.         * include/bits/istream.tcc (getline(basic_istream<>&,
  3709.         basic_string<>&, _CharT)): Use a temporary buffer, thus
  3710.         avoiding reallocation for common case.
  3711.  
  3712.         * include/bits/basic_string.tcc (_S_construct(_InIterator,
  3713.         _InIterator, const _Alloc&, input_iterator_tag)): Tweak size
  3714.         of temporary buffer to a power of two.
  3715.  
  3716.         * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.
  3717.  
  3718. 2004-04-25  Paolo Carlini  <pcarlini@suse.de>
  3719.  
  3720.         * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
  3721.         New.
  3722.         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
  3723.         Likewise.
  3724.         * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
  3725.  
  3726. 2004-04-24  Paolo Carlini  <pcarlini@suse.de>
  3727.             Petur Runolfsson  <peturr02@ru.is>
  3728.  
  3729.         PR libstdc++/15002 (continued)
  3730.         * include/bits/istream.tcc (basic_istream<>::getline(char_type*,
  3731.         streamsize, char_type)): Use traits::find/copy in a loop to speed
  3732.         up greatly the function in the common case (I/O buffer size >> 1).
  3733.  
  3734. 2004-04-24  Paolo Carlini  <pcarlini@suse.de>
  3735.  
  3736.         * testsuite/27_io/basic_istream/getline/char/4.cc: New.
  3737.  
  3738.         * include/bits/istream.tcc (getline(basic_istream<>&,
  3739.         basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
  3740.         of sbumpc(), consistently with the other functions, thus also
  3741.         dealing correctly with the case of exceeded string::max_size().
  3742.  
  3743. 2004-04-24  Matthias Klose  <doko@debian.org>
  3744.  
  3745.         Jonathan Wakely  <cow@compsoc.man.ac.uk>
  3746.         * docs/html/configopts.html: Fix reference to allocator config option.
  3747.  
  3748. 2004-04-23  Andrew Pinski  <pinskia@physics.uc.edu>
  3749.  
  3750.         * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also.
  3751.         * configure: Regenerate.
  3752.  
  3753. 2004-04-23  Daniel Jacobowitz  <drow@mvista.com>
  3754.  
  3755.         PR libstdc++/15047, libstdc++/11610
  3756.         * testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download.
  3757.         (libstdc++_init): Don't pass outdir to v3-copy-files.
  3758.  
  3759. 2004-04-21  Paolo Carlini  <pcarlini@suse.de>
  3760.  
  3761.         * include/bits/deque.tcc: Trivial formatting fixes.
  3762.         * include/bits/stl_deque.h: Likewise.
  3763.         * include/bits/stl_list.h: Likewise.
  3764.         * include/bits/stl_tree.h: Likewise.
  3765.  
  3766. 2004-04-21  Paolo Carlini  <pcarlini@suse.de>
  3767.             Andrew Pinski  <pinskia@physics.uc.edu>
  3768.  
  3769.         * include/bits/basic_string.tcc (_M_mutate): Don't compute
  3770.         __src unnecessarily.
  3771.  
  3772. 2004-04-19  Benjamin Kosnik  <bkoz@redhat.com>
  3773.  
  3774.         * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
  3775.         Clarify assertion, set test variable to false before assert.
  3776.         * testsuite/27_io/basic_istringstream/str/char/1.cc: Same.
  3777.         * testsuite/27_io/basic_stringstream/str/char/1.cc: Same.
  3778.         * testsuite/27_io/ios_base/storage/2.cc: Same.
  3779.  
  3780.         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix
  3781.         function returns.
  3782.         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same.
  3783.         * testsuite/27_io/fpos/14320-3.cc: Same.
  3784.  
  3785.         * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std.
  3786.         * testsuite/27_io/fpos/1.cc: Same.
  3787.         * testsuite/27_io/basic_stringstream/2.cc: Same.
  3788.         * testsuite/27_io/basic_stringbuf/4.cc: Same.
  3789.         * testsuite/27_io/basic_stringbuf/1.cc: Same.
  3790.         * testsuite/27_io/basic_stringbuf/2.cc: Same.
  3791.         * testsuite/27_io/basic_streambuf/2.cc: Same.
  3792.         * testsuite/27_io/basic_ostringstream/2.cc: Same.
  3793.         * testsuite/27_io/basic_ostream/2.cc: Same.
  3794.         * testsuite/27_io/basic_ofstream/2.cc: Same.
  3795.         * testsuite/27_io/basic_istringstream/2.cc: Same.
  3796.         * testsuite/27_io/basic_istream/2.cc: Same.
  3797.         * testsuite/27_io/basic_iostream/2.cc: Same.
  3798.         * testsuite/27_io/basic_ios/2.cc: Same.
  3799.         * testsuite/27_io/basic_ifstream/2.cc: Same.
  3800.         * testsuite/27_io/basic_fstream/2.cc: Same.
  3801.         * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx.
  3802.  
  3803.         * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare
  3804.         unsigned against zero.
  3805.         * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same.
  3806.         * testsuite/21_strings/basic_string/capacity/char/1.cc: Same.
  3807.  
  3808.         * testsuite/18_support/new_delete_placement.cc: Initialize
  3809.         variables before first use.
  3810.         * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same.
  3811.         * testsuite/21_strings/char_traits/requirements/char/1.cc: Same.
  3812.         * testsuite/21_strings/char_traits/requirements/short/1.cc: Same.
  3813.         * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
  3814.         Same.
  3815.         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
  3816.         exceptions_badbit_throw.cc: Same.
  3817.         * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
  3818.         Same.
  3819.         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
  3820.         exceptions_failbit_throw.cc: Same.
  3821.         * testsuite/27_io/types/2.cc: Same.
  3822.  
  3823.         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary
  3824.         file name.
  3825.         * testsuite/27_io/fpos/14775.cc: Same.
  3826.  
  3827. 2004-04-19  Paolo Carlini  <pcarlini@suse.de>
  3828.  
  3829.         PR libstdc++/15002 (partial)
  3830.         * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
  3831.         Special case __n2 == 1, not calling traits_type::assign/copy.
  3832.  
  3833. 2004-04-17  Benjamin Kosnik  <bkoz@redhat.com>
  3834.  
  3835.         * include/bits/stl_bvector.h: Use _M_impl._M_start.
  3836.  
  3837. 2004-04-16  Benjamin Kosnik  <bkoz@redhat.com>
  3838.  
  3839.         * include/bits/c++config (_GLIBCXX_STD): New.
  3840.         * src/list.cc: Use it.
  3841.         * include/std/std_bitset.h: Same.
  3842.         * include/bits/vector.tcc: Same.
  3843.         * include/bits/stl_set.h: Same.
  3844.         * include/bits/stl_multiset.h: Same.
  3845.         * include/bits/stl_multimap.h: Same.
  3846.         * include/bits/stl_map.h: Same.
  3847.         * include/bits/stl_list.h: Same.
  3848.         * include/bits/stl_vector.h: Same.
  3849.         * include/bits/stl_bvector.h: Same.
  3850.         * include/bits/stl_deque.h: Same.
  3851.         * include/bits/deque.tcc: Same.
  3852.         * include/bits/list.tcc: Same.
  3853.         * include/debug/vector: Same.
  3854.         * include/debug/set.h: Same.
  3855.         * include/debug/multiset.h: Same.
  3856.         * include/debug/multimap.h: Same.
  3857.         * include/debug/map.h: Same.
  3858.         * include/debug/list: Same.
  3859.         * include/debug/deque: Same.
  3860.         * include/debug/bitset: Same.
  3861.         * include/debug/formatter.h (__gnu_debug): Remove using directive.
  3862.         Add using declaration for std::type_info.
  3863.         * include/debug/safe_iterator.h: Add using declaration for
  3864.         std::iterator_traits and std::pair.
  3865.         * src/debug_list.cc: New.
  3866.         * src/Makefile.am: Add debug_list.cc.
  3867.         * src/Makefile.in: Regenerate.
  3868.         * config/linker-map.gnu: Add _List_node_base exports for std and
  3869.         __gnu_norm.
  3870.  
  3871.         * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl
  3872.         idiom that other containers use.
  3873.         * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
  3874.  
  3875. 2004-04-16  Paolo Carlini  <pcarlini@suse.de>
  3876.  
  3877.         PR libstdc++/14975
  3878.         * include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt
  3879.         in case of error.
  3880.         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New.
  3881.         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New.
  3882.  
  3883. 2004-04-16  Paolo Carlini  <pcarlini@suse.de>
  3884.  
  3885.         * acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not
  3886.         used anymore.
  3887.         * config.h.in: Regenerate.
  3888.  
  3889. 2004-04-16  Paolo Carlini  <pcarlini@suse.de>
  3890.  
  3891.         * config/locale/generic/monetary_members.cc
  3892.         (moneypunct<wchar_t>::_M_initialize_moneypunct): Avoid calling
  3893.         btowc unnecessarily, just cast to wchar_t (the concerned chars
  3894.         all belong to the basic character set).
  3895.         * config/locale/generic/numeric_members.cc
  3896.         (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
  3897.         * config/locale/gnu/monetary_members.cc
  3898.         (moneypunct<wchar_t>::_M_initialize_moneypunct): Likewise.
  3899.         * config/locale/gnu/numeric_members.cc
  3900.         (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
  3901.  
  3902. 2004-04-15  Paolo Carlini  <pcarlini@suse.de>
  3903.  
  3904.         * src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl
  3905.         avoid constructing unnecessarily this->name().
  3906.  
  3907. 2004-04-14  Zack Weinberg  <zack@codesourcery.com>
  3908.  
  3909.         * testsuite/Makefile.am: Add definition of AM_CXXFLAGS.
  3910.         Change definition of CXX to use $(shell) instead of backticks.
  3911.         * testsuite/Makefile.in: Regenerate.
  3912.  
  3913. 2004-04-12  Dhruv Matani  <dhruvbird@gmx.net>
  3914.  
  3915.         * testsuite/performance/20_util/allocator/list_sort_search.cc:
  3916.         Minor formatting fixes.
  3917.         * testsuite/performance/20_util/allocator/map_mt_find.cc:
  3918.         Likewise.
  3919.  
  3920. 2004-04-12  Paolo Carlini <pcarlini@suse.de>
  3921.  
  3922.         * config/locale/gnu/numeric_members.cc
  3923.         (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap
  3924.         in __uselocale, since btowc is called for chars belonging to
  3925.         the basic character set.
  3926.  
  3927. 2004-04-09  Paolo Carlini  <pcarlini@suse.de>
  3928.  
  3929.         * testsuite/22_locale/messages/members/char/1.cc: Remove junk.
  3930.         * testsuite/22_locale/messages/members/char/2.cc: Ditto.
  3931.         * testsuite/22_locale/messages/members/char/3.cc: Ditto.
  3932.         * testsuite/22_locale/num_get/get/char/1.cc: Ditto.
  3933.         * testsuite/22_locale/num_get/get/char/2.cc: Ditto.
  3934.         * testsuite/22_locale/num_get/get/char/3.cc: Ditto.
  3935.         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto.
  3936.         * testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto.
  3937.         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto.
  3938.         * testsuite/22_locale/num_put/put/char/1.cc: Ditto.
  3939.         * testsuite/22_locale/num_put/put/char/2.cc: Ditto.
  3940.         * testsuite/22_locale/num_put/put/char/3.cc: Ditto.
  3941.         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto.
  3942.         * testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto.
  3943.         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto.
  3944.         * testsuite/22_locale/numpunct/members/char/1.cc: Ditto.
  3945.         * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto.
  3946.  
  3947. 2004-04-07  Paolo Carlini  <pcarlini@suse.de>
  3948.  
  3949.         * config/locale/generic/time_members.cc
  3950.         (__timepunct<char>::_M_initialize_timepunct,
  3951.         __timepunct<wchar_t>::_M_initialize_timepunct): the correct
  3952.         _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
  3953.         * config/locale/gnu/time_members.cc
  3954.         (__timepunct<char>::_M_initialize_timepunct,
  3955.         __timepunct<wchar_t>::_M_initialize_timepunct): Ditto.
  3956.         * testsuite/22_locale/time_get/get_monthname/char/4.cc: New.
  3957.         * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New.
  3958.  
  3959.         * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk.
  3960.         * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto.
  3961.         * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto.
  3962.         * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto.
  3963.         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto.
  3964.         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto.
  3965.         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto.
  3966.         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto.
  3967.         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
  3968.         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto.
  3969.         * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto.
  3970.         * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto.
  3971.         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
  3972.         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto.
  3973.         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto.
  3974.         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto.
  3975.         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
  3976.         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto.
  3977.         * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto.
  3978.         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
  3979.         * testsuite/22_locale/time_put/put/char/1.cc: Ditto.
  3980.         * testsuite/22_locale/time_put/put/char/2.cc: Ditto.
  3981.         * testsuite/22_locale/time_put/put/char/3.cc: Ditto.
  3982.         * testsuite/22_locale/time_put/put/char/4.cc: Ditto.
  3983.         * testsuite/22_locale/time_put/put/char/5.cc: Ditto.
  3984.         * testsuite/22_locale/time_put/put/char/6.cc: Ditto.
  3985.         * testsuite/22_locale/time_put/put/char/7.cc: Ditto.
  3986.         * testsuite/22_locale/time_put/put/char/8.cc: Ditto.
  3987.         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto.
  3988.         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto.
  3989.         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto.
  3990.         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto.
  3991.         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto.
  3992.         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto.
  3993.         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto.
  3994.         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto.
  3995.  
  3996.         * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos.
  3997.  
  3998. 2004-04-07  Paolo Carlini  <pcarlini@suse.de>
  3999.  
  4000.         * config/locale/gnu/monetary_members.cc
  4001.         (moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer
  4002.         _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC,
  4003.         and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC,
  4004.         _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING.
  4005.         * config/locale/gnu/numeric_members.cc
  4006.         (numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT
  4007.         and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP.
  4008.  
  4009. 2004-04-06  Benjamin Kosnik  <bkoz@redhat.com>
  4010.  
  4011.         Fixups for EDG front end.
  4012.         * include/ext/rope: Instead of non-existent function
  4013.         _Data_allocate, use allocator's allocate. Use this.
  4014.         (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag
  4015.         enumerations from _Rope_RopeRep here.
  4016.         * include/ext/ropeimpl.h: Same.
  4017.         * src/ext-inst.cc (_S_min_len): Fix up definition.
  4018.  
  4019.         * config/locale/gnu/ctype_members.cc: Qualify base class members
  4020.         with this.
  4021.         * config/locale/generic/ctype_members.cc: Same.
  4022.         * config/locale/gnu/messages_members.h: Same.
  4023.         * config/locale/generic/messages_members.h: Same.
  4024.         * src/ctype.cc: Same.
  4025.         * include/bits/codecvt.h: Same.
  4026.  
  4027.         * include/bits/boost_concept_check.h: Declare.
  4028.         (__error_type_must_be_an_unsigned_integer_type): Remove this.
  4029.         (__error_type_must_be_an_integer_type): Remove this.
  4030.         (__error_type_must_be_a_signed_integer_type): Remove this.
  4031.  
  4032.         * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast.
  4033.  
  4034.         * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception
  4035.         specification to definition.
  4036.         (__cxa_allocate_exception): Same.
  4037.         * libsupc++/eh_catch.cc (__cxa_begin_catch): Same.
  4038.         * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same.
  4039.         (__cxa_get_globals): Same.
  4040.  
  4041.         * libsupc++/del_op.cc: Add comment about freestanding.
  4042.  
  4043. 2004-04-05  Paolo Carlini  <pcarlini@suse.de>
  4044.  
  4045.         * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
  4046.         The critical section is actually very small, only two assignments.
  4047.  
  4048. 2004-04-04  Paolo Carlini  <pcarlini@suse.de>
  4049.             Petur Runolfsson  <peturr02@ru.is>
  4050.  
  4051.         * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New,
  4052.         adapted from libstdc++/11378.
  4053.  
  4054. 2004-04-03  Paolo Carlini  <pcarlini@suse.de>
  4055.  
  4056.         * include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out
  4057.         some duplicated code.
  4058.         (__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used
  4059.         in the single threaded case.
  4060.         * testsuite/performance/20_util/allocator/list_sort_search.cc:
  4061.         Reorder and renumber the tests consistently with the other testfiles.
  4062.         * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
  4063.         * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
  4064.         * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
  4065.  
  4066. 2004-04-02  Paolo Carlini  <pcarlini@suse.de>
  4067.  
  4068.         * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
  4069.         Rearrange arithmetic to avoid computing two divisions at
  4070.         each deallocation.
  4071.  
  4072. 2004-04-01  Paolo Carlini  <pcarlini@suse.de>
  4073.  
  4074.         * include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize):
  4075.         Streamline the second half, wrapping it in a single
  4076.         '#ifdef __GTHREADS if (__gthread_active_p())' and avoiding
  4077.         conditionals inside loops.
  4078.  
  4079. 2004-04-01  Paolo Carlini  <pcarlini@suse.de>
  4080.  
  4081.         PR libstdc++/14775
  4082.         * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS.
  4083.         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call
  4084.         GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define
  4085.         to _GLIBCXX_RES_LIMITS.
  4086.         (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to
  4087.         HAVE_LIMIT_*.
  4088.         * testsuite/testsuite_hooks.h: Declare set_file_limit.
  4089.         * testsuite/testsuite_hooks.cc: Define it, using getrlimit
  4090.         and setrlimit(RLIMIT_FSIZE).
  4091.         * testsuite/27_io/fpos/14775.cc: New.
  4092.         * config.h.in: Regenerate.
  4093.         * configure: Likewise.
  4094.  
  4095. 2004-03-31  Paolo Carlini  <pcarlini@suse.de>
  4096.  
  4097.         * config/locale/generic/c_locale.cc (__convert_to_v(long double&)):
  4098.         In v3 uses of sscanf, the special floating-point numbers INF,
  4099.         INFINITY, etc., cannot occur in input, therefore, if the latter
  4100.         is too large, ERANGE is always stored in errno, no need of finitel.
  4101.  
  4102. 2004-03-30  Benjamin Kosnik  <bkoz@redhat.com>
  4103.  
  4104.         PR libstdc++/14783
  4105.         * include/bits/stl_tree.h: Adjust initialization list order.
  4106.  
  4107. 2004-03-29  Loren J. Rittle  <ljrittle@acm.org>
  4108.  
  4109.         * testsuite/thread/pthread7-rope.cc: Update comment to reflect test.
  4110.  
  4111. 2004-03-29  Paolo Carlini  <pcarlini@suse.de>
  4112.  
  4113.         * testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending
  4114.         on allocator behavior, the memory pointed by data2 may well be not
  4115.         trashed.
  4116.  
  4117. 2004-03-28  Chavdar Botev  <cbotev@yahoo.com>
  4118.  
  4119.         PR libstdc++/14245
  4120.         * include/bits/basic_string.tcc
  4121.         (basic_string::basic_string(const basic_string&)): Pass to
  4122.         _Rep::_M_grab the actual allocator of the string being constructed
  4123.         not the default constructed one.
  4124.  
  4125. 2004-03-27  Benjamin Kosnik  <bkoz@redhat.com>
  4126.  
  4127.         libstdc++ PR/13598
  4128.         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
  4129.         (__enc_traits::_M_destroy): New.
  4130.         (__enc_traits::~__enc_traits): Use it.
  4131.         (__enc_traits::operator=): Use _M_destroy, _M_init.
  4132.         (__enc_traits::__enc_traits): Same.
  4133.  
  4134. 2004-03-27  Petur Runolfsson  <peturr02@ru.is>
  4135.  
  4136.         * testsuite/ext/enc_filebuf/char/13598.cc: New.
  4137.  
  4138. 2004-03-27  Paolo Carlini  <pcarlini@suse.de>
  4139.  
  4140.         * include/ext/mt_allocator.h: Uglify consistently names of
  4141.         variables, members and classes; tidy.
  4142.  
  4143. 2004-03-27  Dhruv Matani  <dhruvbird@gmx.net>
  4144.  
  4145.         * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
  4146.         Deallocation loop rewrote.
  4147.  
  4148. 2004-03-26  Paolo Carlini  <pcarlini@suse.de>
  4149.  
  4150.         * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
  4151.         __mt_alloc<>::deallocate): Protect two instances of
  4152.         block->thread_id with __GTHREADS.
  4153.  
  4154. 2004-03-25  Gawain Bolton  <gp.bolton@computer.org>
  4155.  
  4156.         * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
  4157.         default argument in constructors.
  4158.         (_Rb_tree::_M_empty_initialize): Remove.
  4159.  
  4160. 2004-03-25  Benjamin Kosnik  <bkoz@redhat.com>
  4161.  
  4162.         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
  4163.         * testsuite/23_containers/set/operators/1_neg.cc: Same.
  4164.  
  4165. 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
  4166.  
  4167.         * include/bits/cpp_type_traits.h: Changed __is_pod
  4168.         completely. Now, it does not use any of the previous type_traits
  4169.         to detect the pod types, and it also detects function pointers as
  4170.         POD types.
  4171.  
  4172.         * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
  4173.         which encapsulates the internal implementation of an rb_tree. Made
  4174.         the allocator a base class of this class instead of the rb_tree,
  4175.         which was not conforming. This _Rb_tree_impl class is also
  4176.         specialized on whether the _Compare parameter is a POD type or
  4177.         not. If so, then it maintains the comparison function as a data
  4178.         member, otherwise it makes the _Compare parameter a base class of
  4179.         itself. Also, _M_key_compare is now a function instead of a data
  4180.         member, so that the above trick can work properly. Delegated the
  4181.         initialization of the other data members to this newly created
  4182.         class. Also, now other member functions of rb_tree must refer to
  4183.         _M_key_compare as _M_impl._M_key_compare(). The other data members
  4184.         (*) can be referenced to as _M_impl.(*), where
  4185.         (*) includes _M_header, and _M_node_count.
  4186.  
  4187. 2004-03-25  Paolo Carlini  <pcarlini@suse.de>
  4188.  
  4189.         * include/ext/mt_allocator.h (__mt_alloc<>::tune):
  4190.         Add _M_min_bin, the size in bytes of the smallest bin.
  4191.         (__mt_alloc<>::tune()): Tweak accordingly.
  4192.         (__mt_alloc<>::tune(size_t, ...)): Likewise.
  4193.         (__mt_alloc<>::block_record): Change to a union: members next
  4194.         and thread_id are never used at the same time.
  4195.         (__mt_alloc<>::allocate): Update consistently.
  4196.         (__mt_alloc<>::deallocate): Likewise.
  4197.         (__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
  4198.         _S_bin_size for the configurable _M_min_size.
  4199.  
  4200. 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
  4201.  
  4202.         * include/bits/stl_list.h: Created a _List_impl class and made it
  4203.         derive from the allocator, instead of the list deriving from the
  4204.         allocator class, which was not conformant. Changed all references
  4205.         from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
  4206.         as above (changed all references to the concerned variables).
  4207.  
  4208. 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
  4209.  
  4210.         * include/bits/stl_deque.h: Created a _Deque_impl class and made
  4211.         it derive from the allocator, instead of the deque deriving from
  4212.         the allocator class, which was not conformant. Changed all
  4213.         references to the _M_start, _M_finish, _M_map, and _M_map_size to
  4214.         _M_impl.*.
  4215.         (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
  4216.         qualification in 2 places where it was missing.
  4217.         (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
  4218.         above.
  4219.         * include/bits/deque.tcc: Same as above (changed all references to
  4220.         the concerned variables).
  4221.  
  4222. 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
  4223.  
  4224.         * include/bits/stl_vector.h: Created a _Vector_impl class and made
  4225.         it derive from the allocator, instead of the _Vector_base class,
  4226.         deriving from the allocator which was not conformant. Changed all
  4227.         references to the _M_start, _M_finish, and _M_end_of_storage to
  4228.         _M_impl.*.
  4229.         * include/bits/vector.tcc: Same as above (changed all references
  4230.         to the concerned variables).
  4231.  
  4232. 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
  4233.  
  4234.         * testsuite/23_containers/deque/cons/clear_allocator.cc: New.
  4235.         * testsuite/23_containers/list/cons/clear_allocator.cc: New.
  4236.         * testsuite/23_containers/vector/cons/clear_allocator.cc: New.
  4237.  
  4238. 2004-03-24  Dhruv Matani  <dhruvbird@gmx.net>
  4239.  
  4240.         * include/ext/malloc_allocator.h: Fixed the construct function to
  4241.         call global placement new instead of assignment. Added a check
  4242.         after the return from malloc to check whether returned pointer is
  4243.         NULL, and if so, throw std::bad_alloc().
  4244.         * include/ext/debug_allocator.h: Added a check in the deallocate
  4245.         function to check whether the user has passed a NULL pointer or
  4246.         not.
  4247.  
  4248. 2004-03-24  Benjamin Kosnik  <bkoz@redhat.com>
  4249.  
  4250.         * docs/html/20_util/allocator.html: Add bitmap_allocator links.
  4251.  
  4252. 2004-03-24  Andreas Schwab  <schwab@suse.de>
  4253.  
  4254.         * testsuite/lib/prune.exp (prune_g++_output): Ignore errata
  4255.         warning from IA64 assembler.
  4256.  
  4257. 2004-03-24  Dhruv Matani  <dhruvbird@gmx.net>
  4258.  
  4259.         * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
  4260.         function call __builtin_ctz instead of the while loop.
  4261.         (allocate) -> If condition has __builtin_expect.
  4262.         (deallocate) -> Ditto.
  4263.         Renamed a few left-over variables and typedefs according to the
  4264.         C++STYLE mentioned in the documentation.
  4265.         Protected calls to __gthread* by __gthread_active_p(), whose value
  4266.         is cached in the local variable __threads_active.
  4267.  
  4268. 2004-03-24  Felix Yen  <fwy@alumni.brown.edu>
  4269.  
  4270.         * testsuite/performance/20_util/allocator/producer_consumer.cc:
  4271.         Use linear algorithm for producer.
  4272.  
  4273. 2004-03-24  Paolo Carlini  <pcarlini@suse.de>
  4274.  
  4275.         * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
  4276.         __mt_alloc<>::deallocate): Avoid redundant conditionals.
  4277.  
  4278. 2004-03-23  Benjamin Kosnik  <bkoz@redhat.com>
  4279.  
  4280.         * include/bits/locale_facets.h: Tweaks for 80 column.
  4281.         (__numpunct_cache::_M_cache): Move to locale_facets.tcc.
  4282.         (__moneypunct_cache::_M_cache): Same.
  4283.         (num_get): Don't inherit from __num_base.
  4284.         (num_put): Same.
  4285.         (money_get): Don't inherit from money_base.
  4286.         (money_put): Same.
  4287.         (__timepunct::_M_am_pm_format): New.
  4288.         (time_get::_M_extract_num): Return iterator, use ios_base as argument.
  4289.         (time_get::_M_extract_name): Same.
  4290.         (time_get::_M_extract_via_format): Same.
  4291.         * include/bits/locale_facets.tcc: Tweaks for 80 column.
  4292.         Use _M_getloc instead of getloc.
  4293.         * testsuite/22_locale/money_put/put/char/9780-3.cc: New.
  4294.         * testsuite/22_locale/num_put/put/char/9780-2.cc: New.
  4295.         * testsuite/22_locale/time_put/put/char/9780-1.cc: New.
  4296.  
  4297. 2004-03-22  Paolo Carlini  <pcarlini@suse.de>
  4298.  
  4299.         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
  4300.         * configure: Regenerate.
  4301.         * config/allocator/pool_allocator_base.h: New.
  4302.         * include/ext/pool_allocator.h: Convert to a standard-conforming
  4303.         allocator.
  4304.         * src/allocator.cc: Tweak instantiations.
  4305.         * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc.
  4306.         * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto.
  4307.         * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto.
  4308.         * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
  4309.         * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
  4310.         * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
  4311.  
  4312. 2004-03-22  Hans-Peter Nilsson  <hp@axis.com>
  4313.  
  4314.         * config/cpu/cris/atomicity.h (__atomic_add): Remove "static
  4315.         inline" and attribute-unused.  Qualify parameter __mem with
  4316.         "volatile".
  4317.         (__exchange_and_add): Ditto.  Add back memory clobber to asm.
  4318.  
  4319. 2004-03-20  Paolo Carlini  <pcarlini@suse.de>
  4320.  
  4321.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc:
  4322.         Remove junk.
  4323.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc:
  4324.         Likewise.
  4325.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc:
  4326.         Likewise.
  4327.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc:
  4328.         Likewise.
  4329.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc:
  4330.         Likewise.
  4331.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc:
  4332.         Likewise.
  4333.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
  4334.         Likewise.
  4335.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
  4336.         Likewise.
  4337.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
  4338.         Likewise.
  4339.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
  4340.         Likewise.
  4341.  
  4342. 2004-03-20  Paolo Carlini  <pcarlini@suse.de>
  4343.  
  4344.         * include/std/std_valarray.h: Document DR389 [Ready].
  4345.         * docs/html/ext/howto.html: Add an entry for DR389.
  4346.  
  4347. 2004-03-19  Michael Eager  <eager@mvista.com>
  4348.  
  4349.         * config/cpu/mips/atomicity.h:  Prevent reg loads between LL and
  4350.         SC instructions.
  4351.  
  4352. 2004-03-19  Paolo Carlini  <pcarlini@suse.de>
  4353.  
  4354.         * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant
  4355.         static_cast-s.
  4356.         * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
  4357.         * testsuite/22_locale/num_get/get/char/13.cc: Likewise.
  4358.         * testsuite/22_locale/num_get/get/char/14.cc: Likewise.
  4359.         * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
  4360.         * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
  4361.         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
  4362.         * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
  4363.         * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
  4364.         * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
  4365.  
  4366. 2004-03-19  Paolo Carlini  <pcarlini@suse.de>
  4367.             Petur Runolfsson  <peturr02@ru.is>
  4368.  
  4369.         PR libstdc++/12077
  4370.         * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's
  4371.         no way to find out the conversion used by the underlying FILE*.
  4372.         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New.
  4373.         * testsuite/27_io/objects/char/9.cc: Tweak.
  4374.  
  4375. 2004-03-19  Paolo Carlini  <pcarlini@suse.de>
  4376.  
  4377.         PR libstdc++/14648
  4378.         * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
  4379.         memory allocation/deallocation calls.
  4380.         * testsuite/ext/14648.cc: New.
  4381.  
  4382. 2004-03-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
  4383.  
  4384.         PR libstdc++/14647
  4385.         * include/backward/bvector.h (bit_vector): Allocator is in std
  4386.         namespace.
  4387.  
  4388. 2004-03-19  Phil Edwards  <phil@codesourcery.com>
  4389.  
  4390.         * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT):  Set LIBICONV,
  4391.         not libiconv.  SUBST this variable as well.
  4392.         * testsuite/Makefile.am (site.exp):  New target, based on that
  4393.         created by automake.  Also set libiconv.
  4394.  
  4395.         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in,
  4396.         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
  4397.         testsuite/Makefile.in:  Regenerate.
  4398.  
  4399. 2004-03-16  Benjamin Kosnik  <bkoz@redhat.com>
  4400.  
  4401.         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
  4402.         new_allocator for all hosts.
  4403.         * configure: Regenerate.
  4404.  
  4405. 2004-03-16  Paolo Carlini  <pcarlini@suse.de>
  4406.  
  4407.         * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
  4408.         * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
  4409.  
  4410. 2004-03-15  Paolo Carlini  <pcarlini@suse.de>
  4411.  
  4412.         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
  4413.         Adjust the logic underlying the parsing of symbol to deal
  4414.         correctly with an optional sign component (i.e., when either
  4415.         negative_sign or positive_sign is empty)
  4416.         * testsuite/22_locale/money_get/get/char/19.cc: New.
  4417.         * testsuite/22_locale/money_get/get/wchar_t/19.cc: New.
  4418.  
  4419. 2004-03-15  Paolo Carlini  <pcarlini@suse.de>
  4420.  
  4421.         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
  4422.         Do not accept an incomplete currency symbol.
  4423.         * testsuite/22_locale/money_get/get/char/18.cc: New.
  4424.         * testsuite/22_locale/money_get/get/wchar_t/18.cc: New.
  4425.  
  4426. 2004-03-13  Benjamin Kosnik  <bkoz@redhat.com>
  4427.  
  4428.         * config/allocator: New.
  4429.         * config/allocator/bitmap_allocator_base.h: New.
  4430.         * config/allocator/malloc_allocator_base.h: New.
  4431.         * config/allocator/mt_allocator_base.h: New.
  4432.         * config/allocator/new_allocator_base.h: New.
  4433.         * include/bits/allocator.h: Include c++allocator.h.
  4434.         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
  4435.         * aclocal.m4: Regenerate.
  4436.         * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
  4437.         * configure: Regenerate.
  4438.         * include/Makefile.am (host_headers_extra): Add c++allocator.h.
  4439.         * include/Makefile.in: Regenerate.
  4440.         * docs/html/configopts.html: Add enable-libstdcxx-allocator.
  4441.  
  4442. 2004-03-12  Benjamin Kosnik  <bkoz@redhat.com>
  4443.  
  4444.         * include/bits/allocator.h: Revert.
  4445.  
  4446. 2004-03-12  Paolo Carlini  <pcarlini@suse.de>
  4447.  
  4448.         * docs/html/ext/howto.html: Add entry for DR 253 [Ready].
  4449.         * include/bits/gslice_array.h: Add comment about DR 253.
  4450.         * include/bits/indirect_array.h: Likewise.
  4451.         * include/bits/mask_array.h: Likewise.
  4452.         * include/bits/slice_array.h: Likewise.
  4453.  
  4454. 2004-03-12  Benjamin Kosnik  <bkoz@redhat.com>
  4455.  
  4456.         * testsuite/20_util/allocator/14176.cc: New.
  4457.         * include/ext/mt_allocator.h: Formatting fixes.
  4458.  
  4459. 2004-03-11  Dhruv Matani  <dhruvbird@HotPOP.com>
  4460.  
  4461.         * include/Makefile.am (ext_headers): Add
  4462.         ${ext_srcdir}/bitmap_allocator.h .
  4463.         * include/Makefile.in: Regenerate.
  4464.         * docs/html/ext/ballocator_doc.txt: New file.
  4465.         * include/ext/bitmap_allocator.h: New file.
  4466.         * testsuite/performance/20_util/allocator/list_sort_search.cc: Add
  4467.         test.
  4468.         * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
  4469.         * testsuite/performance/20_util/allocator/producer_consumer.cc: Add
  4470.         test for the bitmap_allocator<>.
  4471.         * testsuite/performance/20_util/allocator/insert.cc: Likewise.
  4472.         * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
  4473.         * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
  4474.  
  4475. 2004-03-11  Paolo Carlini  <pcarlini@suse.de>
  4476.  
  4477.         * include/std/std_complex.h (pow(const complex&, const _Tp&),
  4478.         pow(const _Tp&, const complex&), pow(const complex&,
  4479.         const complex&)): Fully qualify with std:: a few calls.
  4480.         * testsuite/26_numerics/complex/13450.cc: Minor tweak.
  4481.  
  4482. 2004-03-11  Steven Bosscher  <stevenb@suse.de>
  4483.  
  4484.         PR libstdc++/11706
  4485.         * include/c_std/cmath.tcc (__cmath_power): Define inline.
  4486.  
  4487. 2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
  4488.  
  4489.         * configure.ac: Bump AC_PREREQ to 2.59.
  4490.  
  4491. 2004-03-10  Paolo Carlini  <pcarlini@suse.de>
  4492.  
  4493.         * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
  4494.  
  4495. 2004-03-10  Paul Kienzle  <pkienzle@nist.gov>
  4496.             Paolo Carlini  <pcarlini@suse.de>
  4497.  
  4498.         PR libstdc++/13450
  4499.         * include/std/std_complex.h (pow(const complex&, const _Tp&),
  4500.         pow(const _Tp&, const complex&)): Use cmath pow only when safe.
  4501.         * testsuite/26_numerics/complex/13450.cc: New.
  4502.  
  4503.         * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
  4504.         * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
  4505.  
  4506. 2004-03-10  Jerry Quinn  <jlquinn@optonline.net>
  4507.  
  4508.         PR libstdc++/3247
  4509.         * include/bits/gslice_array.h (gslice_array()): Make public.
  4510.         (operator=(gslice_array)): Make public.  Implement.
  4511.         * include/bits/indirect_array.h (indirect_array()): Make public.
  4512.         * include/bits/mask_array.h (mask_array()): Make public.
  4513.         (operator=(mask_array)): Make public.  Implement.
  4514.         * include/bits/valarray_array.tcc (__valarray_copy):
  4515.         Comment.  Add versions for gslice_array and mask_array.
  4516.         * testsuite/26_numerics/valarray_subset_assignment.cc:  New test.
  4517.  
  4518. 2004-03-09  Benjamin Kosnik  <bkoz@redhat.com>
  4519.  
  4520.         * testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
  4521.         non-weak systems.
  4522.         * testsuite/23_containers/vector/modifiers/swap.cc: Same.
  4523.         * testsuite/23_containers/set/modifiers/swap.cc: Same.
  4524.         * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
  4525.         * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
  4526.         * testsuite/23_containers/map/modifiers/swap.cc: Same.
  4527.         * testsuite/23_containers/list/modifiers/swap.cc: Same.
  4528.  
  4529.         * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
  4530.  
  4531. 2004-03-08  Benjamin Kosnik  <bkoz@redhat.com>
  4532.  
  4533.         PR c++/13658
  4534.         * testsuite/23_containers/deque/modifiers/swap.cc: New.
  4535.         * testsuite/23_containers/list/modifiers/swap.cc: New.
  4536.         * testsuite/23_containers/map/modifiers/swap.cc: New.
  4537.         * testsuite/23_containers/multimap/modifiers/swap.cc: New.
  4538.         * testsuite/23_containers/multiset/modifiers/swap.cc: New.
  4539.         * testsuite/23_containers/set/modifiers/swap.cc: New.
  4540.         * testsuite/23_containers/vector/modifiers/swap.cc: New.
  4541.  
  4542. 2004-03-08  Petur Runolfsson  <peturr02@ru.is>
  4543.  
  4544.         PR libstdc++/12658
  4545.         * testsuite/22_locale/locale/cons/12658_thread.cc: New.
  4546.  
  4547. 2004-03-08  Paolo Carlini  <pcarlini@suse.de>
  4548.  
  4549.         * docs/html/ext/howto.html: Add entry for DR 103 [WP].
  4550.         * include/bits/stl_multiset.h: Add comment about DR 103.
  4551.         * include/bits/stl_set.h: Likewise.
  4552.  
  4553. 2004-03-08  Paolo Carlini  <pcarlini@suse.de>
  4554.  
  4555.         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
  4556.         The value _space_ indicates that at least one space is required
  4557.         at that position.
  4558.         * testsuite/22_locale/money_get/get/char/17.cc: New.
  4559.         * testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
  4560.  
  4561.         * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
  4562.         * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
  4563.  
  4564.         * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
  4565.         Remove redundant conditional on __str.size().
  4566.  
  4567. 2004-03-08  Benjamin Kosnik  <bkoz@redhat.com>
  4568.  
  4569.         * include/bits/allocator.h: Switch defaults to mt_alloc.
  4570.  
  4571. 2004-03-06  Benjamin Kosnik  <bkoz@redhat.com>
  4572.  
  4573.         * include/ext/mt_allocator.h (_S_initialize): If
  4574.         !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
  4575.  
  4576. 2004-03-06  Benjamin Kosnik  <bkoz@redhat.com>
  4577.  
  4578.         PR libstdc++/12658
  4579.         * src/locale_init.cc (locale::locale): Lock critical regions with
  4580.         external mutexes.
  4581.         (locale::global): Same.
  4582.         * include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
  4583.         Add in once bits for cases without __GTHREAD_MUTEX_INIT.
  4584.         (__glibcxx_mutex_lock): Same.
  4585.  
  4586.         * config/cpu/generic/atomicity.h: Remove
  4587.         _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
  4588.         * src/misc-inst.cc: Move all locking bits out of this file.
  4589.  
  4590.         * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
  4591.         * src/misc-inst.cc: Same.
  4592.         * config/cpu/hppa/atomicity.h: Same.
  4593.  
  4594.         * config/linker-map.gnu: Remove types in the signature of atomic
  4595.         exports, as they may vary.
  4596.  
  4597. 2004-03-06  Paolo Carlini  <pcarlini@suse.de>
  4598.  
  4599.         * include/bits/locale_facets.tcc: Tweak the comment preceding
  4600.         has_facet: doesn't throw.
  4601.  
  4602. 2004-03-06  Paolo Carlini  <pcarlini@suse.de>
  4603.  
  4604.         * testsuite/22_locale/money_get/get/char/1.cc: Clean up.
  4605.         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
  4606.         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
  4607.         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
  4608.         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
  4609.         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
  4610.         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
  4611.         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
  4612.  
  4613. 2004-03-06  Paolo Carlini  <pcarlini@suse.de>
  4614.  
  4615.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
  4616.         num_get<>::_M_extract_int, num_get<>::do_get(bool&),
  4617.         __pad<>::_S_pad): Prefer plain operator== to traits::eq().
  4618.         * testsuite/testsuite_character.h (struct __gnu_test::character):
  4619.         Provide operator==.
  4620.         * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char):
  4621.         Likewise.
  4622.  
  4623. 2004-03-05  Paolo Carlini  <pcarlini@suse.de>
  4624.  
  4625.         * testsuite/27_io/fpos/14320-2.cc: Remove xfail.
  4626.  
  4627. 2004-03-04  Benjamin Kosnik  <bkoz@redhat.com>
  4628.  
  4629.         * testsuite/23_containers/multiset/insert/1.cc: Test result string.
  4630.  
  4631.         * testsuite/23_containers/bitset/invalidation/1.cc: Main always
  4632.         returns 0.
  4633.         * testsuite/23_containers/deque/invalidation/4.cc: Same.
  4634.         * testsuite/23_containers/list/invalidation/1.cc: Same.
  4635.         * testsuite/23_containers/list/invalidation/2.cc: Same.
  4636.         * testsuite/23_containers/list/invalidation/3.cc: Same.
  4637.         * testsuite/23_containers/list/invalidation/4.cc: Same.
  4638.         * testsuite/23_containers/map/invalidation/2.cc: Same.
  4639.         * testsuite/23_containers/multimap/invalidation/1.cc: Same.
  4640.         * testsuite/23_containers/multimap/invalidation/2.cc: Same.
  4641.         * testsuite/23_containers/multiset/invalidation/1.cc: Same.
  4642.         * testsuite/23_containers/multiset/invalidation/2.cc: Same.
  4643.         * testsuite/23_containers/set/invalidation/1.cc: Same.
  4644.         * testsuite/23_containers/set/invalidation/2.cc: Same.
  4645.         * testsuite/23_containers/vector/invalidation/1.cc: Same.
  4646.         * testsuite/23_containers/vector/invalidation/2.cc: Same.
  4647.         * testsuite/23_containers/vector/invalidation/3.cc: Same.
  4648.         * testsuite/23_containers/vector/invalidation/4.cc: Same.
  4649.  
  4650. 2004-03-04  Paolo Carlini  <pcarlini@suse.de>
  4651.  
  4652.         * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to
  4653.         CXXFLAGS_save.
  4654.         * testsuite/lib/libstdc++.exp: Don't add it conditionally to
  4655.         DEFAULT_CXXFLAGS.
  4656.         * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT"
  4657.         from the dg-options.
  4658.         * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
  4659.         * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
  4660.         * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
  4661.         * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
  4662.         * testsuite/23_containers/vector/resize/1.cc: Likewise.
  4663.         * testsuite/26_numerics/complex_value.cc: Likewise.
  4664.         * testsuite/27_io/ios_base/storage/1.cc: Likewise.
  4665.         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
  4666.         * testsuite/27_io/ios_base/storage/3.cc: Likewise.
  4667.         * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
  4668.         * testsuite/27_io/objects/char/5.cc: Likewise.
  4669.         * testsuite/27_io/objects/wchar_t/5.cc: Likewise.
  4670.         * testsuite/backward/11460.cc: Likewise.
  4671.         * testsuite/thread/pthread7-rope.cc: Likewise.
  4672.  
  4673.         * testsuite/21_strings/basic_string/compare/char/1.cc: Add
  4674.         missing test variable.
  4675.         * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add
  4676.         missing test variable.
  4677.  
  4678. 2004-03-04  Benjamin Kosnik  <bkoz@redhat.com>
  4679.  
  4680.         * testsuite/20_util/allocator/1.cc: Provide explicit
  4681.         instantiations for non-weak systems.
  4682.         * testsuite/20_util/binders.cc: Same.
  4683.         * testsuite/20_util/allocator/8230.cc: Same.
  4684.         * testsuite/20_util/allocator/10378.cc: Same.
  4685.         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
  4686.         * testsuite/22_locale/ctype/is/char/2.cc: Same.
  4687.         * testsuite/thread/pthread7-rope.cc: Same.
  4688.         * testsuite/thread/pthread6.cc: Same.
  4689.         * testsuite/thread/pthread5.cc: Same.
  4690.         * testsuite/thread/pthread4.cc: Same.
  4691.         * testsuite/thread/pthread1.cc: Same.
  4692.         * testsuite/ext/rope.cc: Same.
  4693.         * testsuite/ext/hash_set.cc: Same.
  4694.         * testsuite/ext/hash_map.cc: Same.
  4695.         * testsuite/ext/concept_checks.cc: Same.
  4696.         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same.
  4697.         * testsuite/25_algorithms/unique/2.cc: Same.
  4698.         * testsuite/25_algorithms/unique/1.cc: Same.
  4699.         * testsuite/25_algorithms/rotate.cc: Same.
  4700.         * testsuite/25_algorithms/min_max.cc: Same.
  4701.         * testsuite/25_algorithms/equal.cc: Same.
  4702.         * testsuite/24_iterators/rel_ops.cc: Same.
  4703.         * testsuite/24_iterators/iterator.cc: Same.
  4704.         * testsuite/24_iterators/insert_iterator.cc: Same.
  4705.         * testsuite/24_iterators/front_insert_iterator.cc: Same.
  4706.         * testsuite/24_iterators/back_insert_iterator.cc: Same.
  4707.         * testsuite/23_containers/vector/resize/1.cc: Same.
  4708.         * testsuite/23_containers/vector/modifiers/2.cc: Same.
  4709.         * testsuite/23_containers/vector/modifiers/1.cc: Same.
  4710.         * testsuite/23_containers/vector/invalidation/4.cc: Same.
  4711.         * testsuite/23_containers/vector/invalidation/3.cc: Same.
  4712.         * testsuite/23_containers/vector/invalidation/2.cc: Same.
  4713.         * testsuite/23_containers/vector/invalidation/1.cc: Same.
  4714.         * testsuite/23_containers/vector/element_access/1.cc: Same.
  4715.         * testsuite/23_containers/vector/cons/6513.cc: Same.
  4716.         * testsuite/23_containers/vector/cons/3.cc: Same.
  4717.         * testsuite/23_containers/vector/cons/2.cc: Same.
  4718.         * testsuite/23_containers/vector/cons/1.cc: Same.
  4719.         * testsuite/23_containers/vector/capacity/8230.cc: Same.
  4720.         * testsuite/23_containers/vector/capacity/1.cc: Same.
  4721.         * testsuite/23_containers/vector/bool/6886.cc: Same.
  4722.         * testsuite/23_containers/stack/members/7158.cc: Same.
  4723.         * testsuite/23_containers/set/invalidation/2.cc: Same.
  4724.         * testsuite/23_containers/set/invalidation/1.cc: Same.
  4725.         * testsuite/23_containers/queue/members/7157.cc: Same.
  4726.         * testsuite/23_containers/priority_queue/members/7161.cc: Same.
  4727.         * testsuite/23_containers/multiset/invalidation/2.cc: Same.
  4728.         * testsuite/23_containers/multiset/invalidation/2.cc: Same.
  4729.         * testsuite/23_containers/multiset/insert/1.cc: Same.
  4730.         * testsuite/23_containers/multimap/invalidation/2.cc: Same.
  4731.         * testsuite/23_containers/multimap/invalidation/2.cc: Same.
  4732.         * testsuite/23_containers/map/operators/1.cc: Same.
  4733.         * testsuite/23_containers/map/invalidation/2.cc: Same.
  4734.         * testsuite/23_containers/map/invalidation/1.cc: Same.
  4735.         * testsuite/23_containers/map/insert/1.cc: Same.
  4736.         * testsuite/23_containers/list/operators/4.cc: Same.
  4737.         * testsuite/23_containers/list/operators/3.cc: Same.
  4738.         * testsuite/23_containers/list/operators/2.cc: Same.
  4739.         * testsuite/23_containers/list/operators/1.cc: Same.
  4740.         * testsuite/23_containers/list/modifiers/3.cc: Same.
  4741.         * testsuite/23_containers/list/modifiers/2.cc: Same.
  4742.         * testsuite/23_containers/list/modifiers/1.cc: Same.
  4743.         * testsuite/23_containers/list/invalidation/4.cc: Same.
  4744.         * testsuite/23_containers/list/invalidation/3.cc: Same.
  4745.         * testsuite/23_containers/list/invalidation/2.cc: Same.
  4746.         * testsuite/23_containers/list/invalidation/1.cc: Same.
  4747.         * testsuite/23_containers/list/cons/9.cc: Same.
  4748.         * testsuite/23_containers/list/cons/8.cc: Same.
  4749.         * testsuite/23_containers/list/cons/7.cc: Same.
  4750.         * testsuite/23_containers/list/cons/6.cc: Same.
  4751.         * testsuite/23_containers/list/cons/5.cc: Same.
  4752.         * testsuite/23_containers/list/cons/4.cc: Same.
  4753.         * testsuite/23_containers/list/cons/3.cc: Same.
  4754.         * testsuite/23_containers/list/cons/2.cc: Same.
  4755.         * testsuite/23_containers/list/cons/1.cc: Same.
  4756.         * testsuite/23_containers/list/capacity/1.cc: Same.
  4757.         * testsuite/23_containers/deque/operators/1.cc: Same.
  4758.         * testsuite/23_containers/deque/invalidation/4.cc: Same.
  4759.         * testsuite/23_containers/deque/invalidation/3.cc: Same.
  4760.         * testsuite/23_containers/deque/invalidation/2.cc: Same.
  4761.         * testsuite/23_containers/deque/invalidation/1.cc: Same.
  4762.         * testsuite/23_containers/deque/cons/2.cc: Same.
  4763.         * testsuite/23_containers/deque/cons/1.cc: Same.
  4764.  
  4765.         * src/allocator.cc: Add char, wchar_t instantiations
  4766.         to match extern template declarations in memory.h.
  4767.  
  4768. 2004-03-03  Paolo Carlini  <pcarlini@suse.de>
  4769.  
  4770.         * include/bits/locale_facets.tcc (money_put<>::_M_insert):
  4771.         Fix warning regression.
  4772.  
  4773. 2004-03-03  Paolo Carlini  <pcarlini@suse.de>
  4774.  
  4775.         * include/bits/locale_facets.tcc (money_put<>::_M_insert):
  4776.         Deal properly with empty __digits and negative frac_digits,
  4777.         clean-up a bit.
  4778.  
  4779. 2004-03-03  Jonathan Wakely  <redi@gcc.gnu.org>
  4780.  
  4781.         * docs/html/documentation.html: Regenerate.
  4782.  
  4783. 2004-03-02  Paolo Carlini  <pcarlini@suse.de>
  4784.  
  4785.         PR libstdc++/14320
  4786.         * include/bits/postypes.h (class streamoff): Remove, now
  4787.         streamoff is just typedef a 64 bit signed integer type.
  4788.         (class fpos): Tweak consistently.
  4789.         * testsuite/27_io/fpos/14320-1.cc: New.
  4790.         * testsuite/27_io/fpos/14320-2.cc: New.
  4791.         * testsuite/27_io/fpos/14320-3.cc: New.
  4792.         * testsuite/27_io/fpos/14320-4.cc: New.
  4793.         * testsuite/27_io/fpos/14320-5.cc: New.
  4794.         * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now.
  4795.  
  4796. 2004-03-02  Paolo Carlini  <pcarlini@suse.de>
  4797.  
  4798.         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
  4799.         Reorganize a bit the main parsing loop, thus early detecting
  4800.         an empty value component.
  4801.         * testsuite/22_locale/money_get/get/char/16.cc: New.
  4802.         * testsuite/22_locale/money_get/get/wchar_t/16.cc: New.
  4803.  
  4804. 2004-03-02  Benjamin Kosnik  <bkoz@redhat.com>
  4805.  
  4806.         Support automake 1.8.2
  4807.         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override.
  4808.         * po/Makefile.am (EXTRA_DIST): New.
  4809.         * po/Makefile.in: Regenerate.
  4810.         * Makefile.in: Same.
  4811.         * include/Makefile.in: Same.
  4812.         * libmath/Makefile.in: Same.
  4813.         * libsupc++/Makefile.in: Same.
  4814.         * src/Makefile.in: Same.
  4815.         * testsuite/Makefile.in: Same.
  4816.  
  4817.         * include/Makefile.am (${host_builddir}/gthr-posix.h): Use
  4818.         __GXX_WEAK__ instead of SUPPORTS_WEAK.
  4819.         (${host_builddir}/gthr-default.h): Same.
  4820.         (${host_builddir}/gthr.h): Same.
  4821.         * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove
  4822.         _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via
  4823.         -fno-weak.
  4824.         * aclocal.m4: Regenerate.
  4825.         * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK.
  4826.         * config.h.in: Regenerate.
  4827.         * configure: Same.
  4828.  
  4829. 2004-03-01  Benjamin Kosnik  <bkoz@redhat.com>
  4830.  
  4831.         Support autoconf 2.59
  4832.         * acinclude.m4: Quote correctly.
  4833.         * aclocal.m4: Regenerate.
  4834.         * linkage.m4: Same.
  4835.  
  4836. 2004-03-01  Benjamin Kosnik  <bkoz@redhat.com>
  4837.  
  4838.         * docs/html/test.html: Add multilib RUNTESTFLAGS example.
  4839.  
  4840.         * docs/html/18_support/howto.html: Add bit about writing to
  4841.         stderr, mostly by Zack.
  4842.  
  4843. 2004-03-01  Paolo Carlini  <pcarlini@suse.de>
  4844.  
  4845.         * include/bits/locale_facets.tcc (money_get<>::_M_extract,
  4846.         money_get<>::do_get(string_type&)): ... and two more.
  4847.  
  4848. 2004-03-01  Paolo Carlini  <pcarlini@suse.de>
  4849.  
  4850.         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
  4851.         Fix thinkos in the switch from string_type& to string& as last
  4852.         argument.
  4853.  
  4854. 2004-03-01  Paolo Carlini  <pcarlini@suse.de>
  4855.  
  4856.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
  4857.         Also when parsing exponent sign, first look for thousands_sep
  4858.         and decimal_point; tweak a bit.
  4859.         * testsuite/22_locale/num_get/get/char/15.cc: New.
  4860.         * testsuite/22_locale/num_get/get/wchar_t/15.cc: New.
  4861.  
  4862.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
  4863.         num_get<>::_M_extract_int): Reorder some conditionals.
  4864.  
  4865. 2004-03-01  Paolo Carlini  <pcarlini@suse.de>
  4866.  
  4867.         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
  4868.         Consistently with numpunct, enforce the requirements in
  4869.         22.2.6.3, p3 for the thousands separators; tweak a bit.
  4870.         * testsuite/22_locale/money_get/get/char/15.cc: New.
  4871.         * testsuite/22_locale/money_get/get/wchar_t/15.cc: New.
  4872.  
  4873. 2004-03-01  David Billinghurst <David.Billinghurst@riotinto.com>
  4874.  
  4875.         * testsuite/lib/libstdc++.exp (v3-list-tests): Use
  4876.         testsuite_files from correct multilib blddir when running
  4877.         testsuite.
  4878.  
  4879. 2004-02-29  Phil Edwards  <phil@codesourcery.com>
  4880.  
  4881.         * testsuite/Makefile.am (check-abi, check-abi-verbose):  Copy
  4882.         the summary file to the logfile.
  4883.         * testsuite/Makefile.in:  Regenerate.
  4884.  
  4885. 2004-02-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
  4886.  
  4887.         * config/cpu/hppa/atomicity.h (__atomic_add): Make first argument
  4888.         volatile.
  4889.         * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use
  4890.         __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK.
  4891.  
  4892. 2004-02-28  Paolo Carlini  <pcarlini@suse.de>
  4893.  
  4894.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
  4895.         According to 22.2.3.1, p2, 'units' may be followed by 'e' with
  4896.         no 'decimal-point' in the middle: in this case too we must fix
  4897.         up __found_grouping; slightly tweak.
  4898.         * testsuite/22_locale/num_get/get/char/14.cc: New.
  4899.         * testsuite/22_locale/num_get/get/wchar_t/14.cc: New.
  4900.  
  4901. 2004-02-27  Eric Christopher  <echristo@redhat.com>
  4902.             Phil Edwards  <phil@codesourcery.com>
  4903.  
  4904.         * testsuite/22_locale/collate/compare/wchar_t/2.cc,
  4905.         testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
  4906.         testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
  4907.         testsuite/22_locale/collate/hash/wchar_t/2.cc,
  4908.         testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
  4909.         testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
  4910.         testsuite/22_locale/collate/transform/wchar_t/2.cc,
  4911.         testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
  4912.         testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
  4913.         Use dg-require-iconv.
  4914.         * testsuite/lib/libstdc++.exp:  Load target-supports.exp.
  4915.  
  4916. 2004-02-27  Phil Edwards  <phil@codesourcery.com>
  4917.             Eric Christopher  <echristo@redhat.com>
  4918.  
  4919.         * testsuite/config/default.exp:  Update with comments.
  4920.         (${tool}_target_compile):  New wrapper routine.
  4921.         * testsuite/lib/dg-options.exp:  New file, with dg-require-iconv.
  4922.         * testsuite/lib/libstdc++.exp:  Update with comments and cosmetic
  4923.         fixes.
  4924.         (load_gcc_lib, v3track):  New routines.
  4925.         (v3-init):  Rename to libstdc++_init.
  4926.         * testsuite/libstdc++-dg/normal.exp:  No longer call v3-init.
  4927.         Move DEFAULT_CXXFLAGS handling into libstdc++_init.
  4928.  
  4929. 2004-02-27  Benjamin Kosnik  <bkoz@redhat.com>
  4930.  
  4931.         * config/cpu/hppa/atomicity.h: Include c++config.h to get defines.
  4932.  
  4933.         * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.
  4934.  
  4935.         * config/os/irix/irix5.2/atomicity.h: Merge..
  4936.         * config/os/irix/irix6.5/atomicity.h: Merge..
  4937.         * config/os/irix/atomicity.h: ...into this.
  4938.         * config/os/irix/atomic_word.h: New.
  4939.         * configure.host: Set atomic_word_dir for irix.
  4940.  
  4941.         * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
  4942.         * i386/atomicity.h: Same.
  4943.         * m68k/atomicity.h: Same.
  4944.         * sparc/atomicity.h: Same.
  4945.  
  4946. 2004-02-27  David Edelsohn  <edelsohn@gnu.org>
  4947.  
  4948.         * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
  4949.         static, and inline keywords.
  4950.  
  4951. 2004-02-27  Paolo Carlini  <pcarlini@suse.de>
  4952.  
  4953.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
  4954.         num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
  4955.         call reserve on the __tmp_gruping string.
  4956.         (num_get<>::_M_extract_float): Don't append unnecessarily a
  4957.         char() to the returned string.
  4958.         * include/bits/locale_facets.tcc: Trivial reformattings.
  4959.  
  4960. 2004-02-27  Paolo Carlini  <pcarlini@suse.de>
  4961.  
  4962.         * include/bits/locale_facets.h (money_get<>::_M_extract):
  4963.         Change signature: now takes a plain string&.
  4964.         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
  4965.         Update consistently the definition; use the moneypunct cache
  4966.         to parse the value; use swap to change __units.
  4967.         (money_get<>::do_get(long double&)): Update call of _M_extract,
  4968.         avoid ctype::narrow, not correct wrt the standard.
  4969.         (money_get<>::do_get(string_type&)): Likewise, update call
  4970.         of _M_extract, use ctype::widen.
  4971.         * src/locale-inst.cc: Tweak instantiations of _M_extract.
  4972.  
  4973. 2004-02-26  Ian Lance Taylor  <ian@wasabisystems.com>
  4974.  
  4975.         * testsuite/demangle/abi_examples/01.cc: Expect error -2.
  4976.         * testsuite/demangle/abi_examples/02.cc: Likewise.
  4977.         * testsuite/demangle/regression/cw-11.cc: Likewise.
  4978.         * testsuite/demangle/regression/cw-16.cc: Change two expected
  4979.         results to match libiberty demangler output.
  4980.  
  4981. 2004-02-26  Benjamin Kosnik  <bkoz@redhat.com>
  4982.  
  4983.         PR libstdc++/10246
  4984.         * libsupc++/Makefile.am: Use libiberty demangler.
  4985.         (c_sources): Add cp-demangle.c.
  4986.         * libsupc++/Makefile.in: Regenerate.
  4987.         * src/Makefile.am (sources): Remove demangle.cc.
  4988.         * src/Makefile.in: Regenerate.
  4989.         * include/Makefile.am (bits_headers): Move demangle.h.
  4990.         (ext_headers): ...here.
  4991.         * include/Makefile.in: Regenerate.
  4992.         * include/bits/demangle.h: Move...
  4993.         * include/ext/demangle.h: ...here.
  4994.         * src/demangle.cc: Remove.
  4995.  
  4996. 2004-02-26  Benjamin Kosnik  <bkoz@redhat.com>
  4997.  
  4998.         * include/bits/demangle.h: Add type template parameter to all
  4999.         templates with just an Allocator template parameter.
  5000.  
  5001. 2004-02-25  Benjamin Kosnik  <bkoz@redhat.com>
  5002.  
  5003.         * include/bits/atomicity.h: New, forward declarations for __atomic_add
  5004.         and __exchange_and_add.
  5005.         * config/cpu/generic/atomic_word.h: New, typdef for atomic word.
  5006.         * config/cpu/cris/atomic_word.h: Same.
  5007.         * config/cpu/sparc/atomic_word.h: Same.
  5008.         * include/bits/ios_base.h (_Callback_list::_M_remove_reference):
  5009.         Qualifiy with __gnu_cxx.
  5010.         (_Callback_list::_M_add_reference): Same.
  5011.         * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
  5012.         (locale::facet::_M_remove_reference): Same.
  5013.         (locale::_Impl::_M_add_reference): Add.
  5014.         (locale::_Impl::_M_remove_reference): Same.
  5015.         * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
  5016.         (basic_string::_Rep::_M_dispose): Same.
  5017.         * src/ios.cc (ios_base::xalloc): Same.
  5018.         * src/ios_init.cc (ios_base::Init::Init): Same.
  5019.         (ios_base::Init::~Init): Same.
  5020.         * src/locale.cc (locale::id::_M_id): Same.
  5021.         * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
  5022.         static, and inline keywords.
  5023.         * config/cpu/alpha/atomicity.h: Same.
  5024.         * config/cpu/cris/atomicity.h: Same.
  5025.         * config/cpu/generic/atomicity.h: Same.
  5026.         * config/cpu/hppa/atomicity.h: Same.
  5027.         * config/cpu/i386/atomicity.h: Same.
  5028.         * config/cpu/ia64/atomicity.h: Same.
  5029.         * config/cpu/m68k/atomicity.h: Same.
  5030.         * config/cpu/mips/atomicity.h: Same.
  5031.         * config/cpu/powerpc/atomicity.h: Same.
  5032.         * config/cpu/s390/atomicity.h: Same.
  5033.         * config/cpu/sparc/atomicity.h: Same.
  5034.  
  5035.         * src/Makefile.am (host_sources): Add atomicity.cc.
  5036.         (atomicity.cc): New rule.
  5037.         * src/Makefile.in: Regenerate.
  5038.         * include/Makefile.am (host_headers): Remove host atomicity.h.
  5039.         (host_headers): Add atomic_word.h.
  5040.         (bits_headers): Add bits atomicity.h.
  5041.         Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
  5042.         * include/Makefile.in: Regenerate.
  5043.         * configure.host (atomic_word_dir): Add.
  5044.         * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
  5045.         ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
  5046.         * configure: Regenerate.
  5047.         * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.
  5048.  
  5049.         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
  5050.         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
  5051.  
  5052. 2004-02-25  Jonathan Wakely  <redi@gcc.gnu.org>
  5053.  
  5054.         * docs/html/20_util/howto.html, docs/html/20_util/allocator.html,
  5055.         docs/html/ext/howto.html, docs/html/ext/mt_allocator.html:
  5056.         Fix markup, more <link> tags.
  5057.  
  5058. 2004-02-25  Carlo Wood  <carlo@alinoe.com>
  5059.  
  5060.         * bits/demangle.h
  5061.         namespace __gnu_cxx::demangler
  5062.         (session<Allocator>::qualifier_list_Allocator): Add
  5063.         (session<Allocator>::M_qualifier_list_alloc): Add
  5064.         (session<Allocator>::decode_type_with_postfix):
  5065.         Use M_qualifier_list_alloc instead of calling operator new/delete.
  5066.  
  5067. 2004-02-24  Paolo Carlini  <pcarlini@suse.de>
  5068.  
  5069.         PR libstdc++/14252
  5070.         * include/bits/postypes.h (class streamoff): Add operator++(),
  5071.         operator++(int), operator--() and operator--(int).
  5072.         * testsuite/27_io/fpos/14252.cc: New.
  5073.  
  5074. 2004-02-24  Richard Sandiford  <rsandifo@redhat.com>
  5075.  
  5076.         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
  5077.         error in handling of hex constants.
  5078.  
  5079. 2004-02-24  Paolo Carlini  <pcarlini@suse.de>
  5080.  
  5081.         * include/bits/locale_facets.tcc (money_put<>::_M_insert):
  5082.         Prefer basic_string::append to operator+= and a temporary.
  5083.  
  5084. 2004-02-23  Benjamin Kosnik  <bkoz@redhat.com>
  5085.  
  5086.         * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
  5087.         Only use fputs, not write.
  5088.  
  5089. 2004-02-23  Benjamin Kosnik  <bkoz@redhat.com>
  5090.  
  5091.         * include/ext/malloc_allocator.h: Add operators ==, !=.
  5092.         * include/ext/new_allocator.h: Add operators ==, !=.
  5093.         * include/ext/mt_allocator.h (__mt_alloc::tune): New.
  5094.         (__mt_alloc::_S_get_options): New.
  5095.         (__mt_alloc::_S_set_options): New.
  5096.         (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
  5097.         (__mt_alloc::_S_no_of_bins): To _S_bin_size.
  5098.         Move functions out of line, simplify, format.
  5099.         * src/allocator.cc: Simplify explicit instantiations.
  5100.         * include/bits/allocator.h: Tweak.
  5101.  
  5102. 2004-02-22  Paolo Carlini  <pcarlini@suse.de>
  5103.  
  5104.         * include/bits/locale_facets.tcc (money_put<>::_M_insert):
  5105.         Restructure formatting of value component, first dealing with
  5106.         the non-decimal digits; use reserve.
  5107.  
  5108. 2004-02-22  Paolo Carlini  <pcarlini@suse.de>
  5109.  
  5110.         * include/bits/locale_facets.h (class money_get): Inherit
  5111.         from money_base too; tweak declaration of _M_extract, now
  5112.         parameterized on _Intl too.
  5113.         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
  5114.         Update definition to use the cache; call reserve on __res to
  5115.         avoid multiple reallocations; fix parsing of sign component
  5116.         according to 22.2.6.1.2, p3.
  5117.         (money_get<>::do_get(long double&),
  5118.         money_get<>::do_get(string_type&)): Update calls of _M_extract.
  5119.         * src/locale-inst.cc:  Add instantiations of
  5120.         money_get::_M_extract<false> and money_get::_M_extract<true>.
  5121.         * testsuite/22_locale/money_get/get/char/14.cc: New.
  5122.         * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.
  5123.  
  5124. 2004-02-21  Mark Mitchell  <mark@codesourcery.com>
  5125.  
  5126.         * libsupc++/vterminate.cc
  5127.         (__gnu_cxx::__verbose_terminate_handler): Guard against recursive
  5128.         calls to terminate.
  5129.         * src/demangle.cc (__cxa_demangle): Wrap in try-catch block.
  5130.  
  5131.         * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
  5132.         not set RLIMIT_AS on HP-UX.
  5133.  
  5134. 2004-02-21  Mark Mitchell  <mark@codesourcery.com>
  5135.  
  5136.         * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
  5137.         not set RLIMIT_AS on HP-UX.
  5138.  
  5139. 2004-02-21  Paolo Carlini  <pcarlini@suse.de>
  5140.  
  5141.         * include/bits/locale_facets.h (class money_base): Add { _S_minus,
  5142.         _S_zero, _S_end } enum, _S_atoms.
  5143.         (struct __moneypunct_cache<>): Parameterize on _Intl too; add
  5144.         _M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
  5145.         _M_negative_sign_size, _M_atoms; tweak constructor consistently.
  5146.         (__moneypunct_cache<>::~__moneypunct_cache): Update.
  5147.         (__moneypunct_cache<>::_M_cache): Fill the cache.
  5148.         (class moneypunct): Tweak __cache_type typedef.
  5149.         (class money_put): Inherit from money_base too; tweak declaration
  5150.         of _M_insert, now parameterized on _Intl.
  5151.         * include/bits/locale_facets.tcc
  5152.         (struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
  5153.         (money_put<>::_M_insert): Update definition to use the cache;
  5154.         call reserve on __res to avoid multiple reallocations.
  5155.         (money_put<>::do_put(long double),
  5156.         money_put<>::do_put(const string_type&): Update calls of _M_insert.
  5157.         * config/locale/generic/monetary_members.cc
  5158.         (moneypunct<char, true>::_M_initialize_moneypunct,
  5159.         moneypunct<char, false>::_M_initialize_moneypunct,
  5160.         moneypunct<wchar_t, true>::_M_initialize_moneypunct,
  5161.         moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
  5162.         * config/locale/gnu/monetary_members.cc: Likewise.
  5163.         * config/locale/gnu/monetary_members.cc
  5164.         (moneypunct<wchar_t, true>::~moneypunct(),
  5165.         moneypunct<wchar_t, false>::~moneypunct()): Likewise.
  5166.         * src/globals_locale.cc: Tweak fake_money_cache_c.
  5167.         * src/locale-inst.cc: Add instantiations for
  5168.         money_put::_M_insert<false> and money_put::_M_insert<true> and
  5169.         __moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
  5170.         * src/locale_facets.cc: Define money_base::_S_atoms.
  5171.         * src/locale_init.cc: Update placement new of
  5172.         __moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
  5173.         __moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.
  5174.  
  5175.         * config/locale/generic/numeric_members.cc: Clean up.
  5176.         * config/locale/gnu/numeric_members.cc: Likewise.
  5177.         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
  5178.         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
  5179.         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
  5180.         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
  5181.         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
  5182.         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
  5183.  
  5184. 2004-02-20  Mark Mitchell  <mark@codesourcery.com>
  5185.  
  5186.         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
  5187.         FIFO for writing with ios_base::in|ios_base::out.
  5188.         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
  5189.         * testsuite/27_io/objects/char/7.cc: Likewise.
  5190.         * testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
  5191.         with "r+".
  5192.  
  5193. 2004-02-19  David Edelsohn  <edelsohn@gnu.org>
  5194.  
  5195.         * 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
  5196.         from iso-8859-1 to ISO8859-1.
  5197.         * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
  5198.         * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
  5199.         * 22_locale/collate/hash/wchar_t/2.cc: Same.
  5200.         * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
  5201.         * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
  5202.         * 22_locale/collate/transform/wchar_t/2.cc: Same.
  5203.         * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
  5204.         * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.
  5205.  
  5206. 2004-02-18  Paolo Carlini  <pcarlini@suse.de>
  5207.  
  5208.         * include/bits/locale_facets.h (money_get<>::_M_extract):
  5209.         New, helper for do_get.
  5210.         (money_put<>::_M_insert): Likewise, for do_put.
  5211.         * include/bits/locale_facets.tcc (money_get<>::_M_extract,
  5212.         money_put<>::_M_insert): Define.
  5213.         (money_get<>::do_get(long double&), money_get<>::do_get(
  5214.         string_type&), money_put::do_put(long double),
  5215.         money_put::do_put(const string_type&)): Use the helpers.
  5216.  
  5217. 2004-02-18  Paolo Carlini  <pcarlini@suse.de>
  5218.  
  5219.         * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
  5220.         Rewrite, avoiding recursion.
  5221.         (__gnu_internal::xwrite): Minor tweaks.
  5222.  
  5223. 2004-02-17  Stefan Olsson  <stefan@xapa.se>
  5224.  
  5225.         * include/ext/mt_allocator.h: Removed the last
  5226.         pointer. Deallocated blocks are now added to the front of
  5227.         freelists as proposed by Felix Yen.  This gives roughly 10%
  5228.         performance boost and saves some memory.
  5229.         * docs/html/ext/mt_allocator.html: Change due to that deallocated
  5230.         blocks now are added to the front of freelists. The reason to this
  5231.         approach is also explained.
  5232.  
  5233. 2004-02-17  Paolo Carlini  <pcarlini@suse.de>
  5234.  
  5235.         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
  5236.         num_get<>::_M_extract_int, money_get<>::do_get): Simplify
  5237.         grouping fidelity conditional.
  5238.  
  5239. 2004-02-16  Paolo Carlini  <pcarlini@suse.de>
  5240.  
  5241.         * testsuite/27_io/basic_filebuf/overflow/char/13858.cc:
  5242.         Qualify exception with std::.
  5243.         * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto.
  5244.         * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
  5245.         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
  5246.         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
  5247.         * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
  5248.  
  5249. 2004-02-16  Paolo Carlini  <pcarlini@suse.de>
  5250.  
  5251.         * testsuite/ext/enc_filebuf/char/13189.cc: Don't check
  5252.         for now that the catch block is not reached.
  5253.         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
  5254.  
  5255. 2004-02-16  Paolo Carlini  <pcarlini@suse.de>
  5256.  
  5257.         * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
  5258.         Fix parsing of the remaining sign characters.
  5259.         * 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
  5260.         the input is scanned 'til eof.
  5261.         * 22_locale/money_get/get/char/4.cc: Likewise.
  5262.         * 22_locale/money_get/get/wchar_t/2.cc: Likewise.
  5263.         * 22_locale/money_get/get/wchar_t/4.cc: Likewise.
  5264.         * 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
  5265.         not do_pos_format: the former is the only one that matters during
  5266.         input.
  5267.         * 22_locale/money_get/get/wchar_t/8.cc: Likewise.
  5268.  
  5269.         * 22_locale/money_get/get/char/6.cc: Minor tweak.
  5270.         * 22_locale/money_get/get/wchar_t/6.cc: Likewise.
  5271.  
  5272. 2004-02-15  David Asher  <david.asher@cavium.com>
  5273.  
  5274.         PR libstdc++/11352
  5275.         * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
  5276.         access __olds beyond __oldlen.
  5277.  
  5278. 2004-02-14  Paolo Carlini  <pcarlini@suse.de>
  5279.  
  5280.         * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
  5281.         sure the exception is actually thrown.
  5282.         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
  5283.         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
  5284.         * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
  5285.  
  5286. 2004-02-14  Paolo Carlini  <pcarlini@suse.de>
  5287.  
  5288.         PR libstdc++/13858
  5289.         * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
  5290.         In case of conversion errors, throw ios_failure; simplify.
  5291.         * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
  5292.         * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
  5293.         * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
  5294.         previously we didn't throw in case of conversion errors, instead
  5295.         just returned eof().
  5296.         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
  5297.         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
  5298.         * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
  5299.  
  5300.         * include/bits/fstream.tcc (basic_filebuf<>::overflow):
  5301.         Trivial simplification of a conditional.
  5302.  
  5303. 2004-02-12  Paolo Carlini  <pcarlini@suse.de>
  5304.  
  5305.         PR libstdc++/13731 (final part: writev)
  5306.         * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
  5307.         New, a wrapper around writev() handling partial writes.
  5308.         (__basic_file<char>::xwrite): Move to __gnu_internal and make
  5309.         static.
  5310.         (__basic_file<char>::xsputn): Update call.
  5311.         (__basic_file<char>::xsputn_2): Likewise.
  5312.         * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
  5313.         Don't declare, now static.
  5314.  
  5315. 2004-02-11  Stefan Olsson  <stefan@xapa.se>
  5316.  
  5317.         * docs/html/ext/mt_allocator.html: New.
  5318.  
  5319. 2004-02-11  Benjamin Kosnik  <bkoz@redhat.com>
  5320.  
  5321.         * docs/html/20_util/allocator.html: New file, consolidate
  5322.         allocator information here. Revamp.
  5323.         * docs/html/documentation.html: Change links.
  5324.         * docs/html/20_util/howto.html: Same.
  5325.         * docs/html/ext/howto.html: Same.
  5326.  
  5327. 2004-02-11  Paolo Carlini  <pcarlini@suse.de>
  5328.  
  5329.         PR libstdc++/13731 (first part: write)
  5330.         * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
  5331.         New, declare.
  5332.         * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
  5333.         Define it: a wrapper around write() handling partial write.
  5334.         (__basic_file<char>::xsputn): Use it.
  5335.         (__basic_file<char>::xsputn_2): Likewise.
  5336.  
  5337. 2004-02-11  Paolo Carlini  <pcarlini@suse.de>
  5338.             Petur Runolfsson  <peturr02@ru.is>
  5339.  
  5340.         PR libstdc++/14078
  5341.         * include/std/std_istream.h (operator>>(__istream_type& (*)
  5342.         (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
  5343.         operator>>(ios_base& (*)(ios_base&))): Declare inline.
  5344.         * include/std/std_ostream.h (operator<<(__ostream_type& (*)
  5345.         (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
  5346.         operator<<(ios_base& (*) (ios_base&))): Likewise.
  5347.         * testsuite/performance/27_io/fmtflags_manipulators.cc: New.
  5348.  
  5349. 2004-02-10  Loren J. Rittle  <ljrittle@acm.org>
  5350.  
  5351.         PR libstdc++/14098
  5352.         * config/linker-map.gnu: Add typeinfo and typeinfo name for
  5353.         __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
  5354.  
  5355.         PR libstdc++/14097
  5356.         * config/linker-map.gnu: Add typeinfo and typeinfo name for
  5357.         __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
  5358.  
  5359. 2004-02-09  Loren J. Rittle  <ljrittle@acm.org>
  5360.  
  5361.         * include/ext/pool_allocator.h: Include c++config.h.
  5362.  
  5363. 2004-02-09  Stefan Olsson  <stefan@xapa.se>
  5364.  
  5365.         * include/ext/mt_allocator.h: thread_id is unused in non threaded
  5366.         applications and now has a ifdef to remove it completely on
  5367.         compilers without thread support. Include stdlib.h due to a
  5368.         compiler warning on getenv().
  5369.  
  5370. 2004-02-09  Paul Brook  <paul@codesourcery.com>
  5371.  
  5372.         * libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
  5373.  
  5374. 2004-02-09  Paolo Carlini  <pcarlini@suse.de>
  5375.  
  5376.         PR libstdc++/14071
  5377.         * src/locale_init.cc (locale::global(const locale&)): Use
  5378.         locale::name() in order to decide whether calling setlocale.
  5379.         * testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
  5380.  
  5381.         * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
  5382.         Avoid computing &= unnecessarily.
  5383.  
  5384. 2004-02-09  James E Wilson  <wilson@specifixinc.com>
  5385.  
  5386.         PR libstdc++/5625
  5387.         * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
  5388.         __builtin_extend_pointer.
  5389.  
  5390. 2004-02-09  Paolo Carlini  <pcarlini@suse.de>
  5391.  
  5392.         PR libstdc++/14072
  5393.         * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
  5394.         Don't leave dangling pointers.
  5395.         * testsuite/27_io/basic_ios/imbue/14072.cc: New.
  5396.         * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
  5397.         facet is needed in the final test.
  5398.  
  5399. 2004-02-09  Bernardo Innocenti  <bernie@develer.com>
  5400.  
  5401.         * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
  5402.         * configure: Regenerate.
  5403.  
  5404. 2004-02-08  Richard Henderson  <rth@redhat.com>
  5405.  
  5406.         PR libstdc++/14026
  5407.         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
  5408.         uncaughtExceptions during nested catch rethrow.
  5409.         * testsuite/18_support/14026.cc: New.
  5410.  
  5411. 2004-02-08  Paolo Carlini  <pcarlini@suse.de>
  5412.  
  5413.         * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
  5414.         When working in place remember to set the state to sharable
  5415.         (otherwise, _M_mutate does it).
  5416.  
  5417. 2004-02-08  Bernardo Innocenti  <bernie@develer.com>
  5418.  
  5419.         * include/bits/allocator.h, include/bits/basic_ios.h,
  5420.         include/bits/basic_ios.tcc, include/bits/basic_string.h,
  5421.         include/bits/basic_string.tcc, include/bits/boost_concept_check.h,
  5422.         include/bits/char_traits.h, include/bits/codecvt.h,
  5423.         include/bits/concurrence.h, include/bits/cpp_type_traits.h,
  5424.         include/bits/demangle.h, include/bits/deque.tcc,
  5425.         include/bits/fstream.tcc, include/bits/functexcept.h,
  5426.         include/bits/gslice.h, include/bits/gslice_array.h,
  5427.         include/bits/indirect_array.h, include/bits/ios_base.h,
  5428.         include/bits/istream.tcc, include/bits/list.tcc,
  5429.         include/bits/locale_classes.h, include/bits/locale_facets.h,
  5430.         include/bits/locale_facets.tcc, include/bits/localefwd.h,
  5431.         include/bits/mask_array.h, include/bits/ostream.tcc,
  5432.         include/bits/postypes.h, include/bits/slice_array.h,
  5433.         include/bits/sstream.tcc, include/bits/stl_algo.h,
  5434.         include/bits/stl_algobase.h, include/bits/stl_bvector.h,
  5435.         include/bits/stl_construct.h, include/bits/stl_deque.h,
  5436.         include/bits/stl_function.h, include/bits/stl_heap.h,
  5437.         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
  5438.         include/bits/stl_list.h, include/bits/stl_map.h,
  5439.         include/bits/stl_multimap.h, include/bits/stl_multiset.h,
  5440.         include/bits/stl_numeric.h, include/bits/stl_pair.h,
  5441.         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
  5442.         include/bits/stl_relops.h, include/bits/stl_set.h,
  5443.         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
  5444.         include/bits/stl_threads.h, include/bits/stl_tree.h,
  5445.         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
  5446.         include/bits/stream_iterator.h, include/bits/streambuf.tcc,
  5447.         include/bits/streambuf_iterator.h,include/bits/stringfwd.h,
  5448.         include/bits/type_traits.h, include/bits/valarray_after.h,
  5449.         include/bits/valarray_array.h, include/bits/valarray_array.tcc,
  5450.         include/bits/valarray_before.h, include/bits/vector.tcc: Remove
  5451.         trailing whitespace.
  5452.  
  5453. 2004-02-06  Paolo Carlini  <pcarlini@suse.de>
  5454.  
  5455.         * include/bits/basic_string.h: Fix comment.
  5456.  
  5457. 2004-02-06  Paolo Carlini  <pcarlini@suse.de>
  5458.  
  5459.         * include/bits/stl_construct.h: Wrap overlong lines, reformat
  5460.         according to the coding standards.
  5461.         * include/bits/stl_pair.h: Likewise.
  5462.         * include/bits/stl_raw_storage_iter.h: Likewise.
  5463.         * include/bits/stl_stack.h: Likewise.
  5464.         * include/bits/stl_uninitialized.h: Likewise.
  5465.         * include/bits/stream_iterator.h: Likewise.
  5466.         * include/bits/streambuf_iterator.h: Likewise.
  5467.         * include/bits/type_traits.h: Likewise.
  5468.  
  5469. 2004-02-06  Paolo Carlini  <pcarlini@suse.de>
  5470.  
  5471.         * testsuite/27_io/basic_filebuf/open/char/9507.cc:
  5472.         Adjust timings.
  5473.  
  5474. 2004-02-05  Loren J. Rittle  <ljrittle@acm.org>
  5475.  
  5476.         * scripts/check_performance: Support PCH.
  5477.  
  5478.         * scripts/check_performance (CXX): Add -DNOTHREAD.
  5479.         * testsuite/performance/20_util/allocator/insert.cc: Integrate
  5480.         threaded tests from insert_insert.cc.  Tweak iterations,
  5481.         remove special cases.
  5482.         * testsuite/performance/20_util/allocator/insert_insert.cc:
  5483.         Make all tests single-threaded. Tweak iterations.
  5484.         * testsuite/performance/20_util/allocator/map_thread.cc:
  5485.         Tweak iterations.
  5486.         * testsuite/performance/20_util/allocator/producer_consumer.cc:
  5487.         Likewise.
  5488.  
  5489. 2004-02-05  Geoffrey Keating  <geoffk@apple.com>
  5490.  
  5491.         PR 12179
  5492.         * .cvsignore: New.
  5493.         * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
  5494.         'gcc-lib'.  Add comment about poorly-named variables.
  5495.         * aclocal.m4: Regenerate.
  5496.         * configure: Regenerate.
  5497.  
  5498. 2004-02-05  Paolo Carlini  <pcarlini@suse.de>
  5499.  
  5500.         * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
  5501.         Thousands-sep are always optional; thousands-sep are not allowed
  5502.         after the decimal_point.
  5503.         * testsuite/22_locale/money_get/get/char/12.cc: New.
  5504.         * testsuite/22_locale/money_get/get/char/13.cc: New.
  5505.         * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
  5506.         * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
  5507.  
  5508.         * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
  5509.         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
  5510.         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
  5511.         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
  5512.         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
  5513.         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
  5514.         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
  5515.         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
  5516.  
  5517.         * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
  5518.         the standard.
  5519.         * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
  5520.  
  5521. 2004-02-05  Richard Sandiford  <rsandifo@redhat.com>
  5522.  
  5523.         * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
  5524.         Define.
  5525.         * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
  5526.         it to decide whether FIONREAD should take an off_t or int argument.
  5527.  
  5528. 2004-02-05  Paolo Carlini  <pcarlini@suse.de>
  5529.  
  5530.         * include/bits/stl_function.h: Minor formatting changes.
  5531.  
  5532. 2004-02-04  Zack Weinberg  <zack@codesourcery.com>
  5533.  
  5534.         Revert previous change to config/abi/*/baseline_symbols.txt.
  5535.  
  5536. 2004-02-04  Benjamin Kosnik  <bkoz@redhat.com>
  5537.             Zack Weinberg  <zack@codesourcery.com>
  5538.  
  5539.         * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
  5540.         New function.
  5541.         (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
  5542.         (__basic_file<char>::_M_open_mode): Delete.
  5543.         * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
  5544.  
  5545.         * testsuite/27_io/basic_filebuf/close/char/9964.cc
  5546.         * testsuite/27_io/basic_filebuf/open/char/9507.cc:
  5547.         Correct flags to filebuf::open calls.
  5548.  
  5549.         * config/abi/alpha-freebsd5/baseline_symbols.txt
  5550.         * config/abi/alpha-linux-gnu/baseline_symbols.txt
  5551.         * config/abi/hppa-linux-gnu/baseline_symbols.txt
  5552.         * config/abi/i386-freebsd4/baseline_symbols.txt
  5553.         * config/abi/i386-freebsd5/baseline_symbols.txt
  5554.         * config/abi/i486-linux-gnu/baseline_symbols.txt
  5555.         * config/abi/ia64-linux-gnu/baseline_symbols.txt
  5556.         * config/abi/mips-linux-gnu/baseline_symbols.txt
  5557.         * config/abi/sparc-freebsd5/baseline_symbols.txt
  5558.         * config/abi/sparc-linux-gnu/baseline_symbols.txt
  5559.         * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
  5560.         Remove entry for __basic_file<char>::_M_open_mode.
  5561.  
  5562. 2004-02-04  Loren J. Rittle  <ljrittle@acm.org>
  5563.  
  5564.         * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
  5565.  
  5566. 2004-02-04  Felix Yen  <fwy@alumni.brown.edu>
  5567.  
  5568.         * testsuite/performance/20_util/producer_consumer.cc: New.
  5569.         * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
  5570.  
  5571. 2004-02-04  Benjamin Kosnik  <bkoz@redhat.com>
  5572.  
  5573.         * testsuite/performance/20_util/allocator.cc: Move to..
  5574.         * testsuite/performance/20_util/allocator/insert.cc: ...here.
  5575.         * testsuite/performance/20_util/allocator_thread.cc: Move to...
  5576.         * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
  5577.         * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
  5578.         * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
  5579.  
  5580. 2004-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
  5581.  
  5582.         * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
  5583.         * docs/html/faq/index.txt: Regenerate.
  5584.  
  5585. 2004-02-04  Dhruv Matani  <dhruvbird@gmx.net>
  5586.  
  5587.         * include/ext/debug_allocator.h: _M_extra now stands for the
  5588.         number of extra objects instead of the number of extra bytes.
  5589.         (debug_allocator::allocate): Adjust.
  5590.         (debug_allocator::deallocate): Adjust.
  5591.  
  5592.         * include/ext/pool_allocator.h: Fix typo.
  5593.  
  5594. 2004-02-03  Felix Yen  <fwy@alumni.brown.edu>
  5595.             Benjamin Kosnik  <bkoz@redhat.com>
  5596.  
  5597.         * testsuite/performance/20_util/allocator.cc: Add map,
  5598.         deque, set tests.
  5599.         * testsuite/performance/20_util/allocator_thread.cc: Same.
  5600.  
  5601. 2004-02-03  Paolo Carlini  <pcarlini@suse.de>
  5602.  
  5603.         * include/bits/basic_string.h (insert(iterator)): Remove,
  5604.         non-standard and already scheduled for removal.
  5605.  
  5606. 2004-02-03  Paolo Carlini  <pcarlini@suse.de>
  5607.  
  5608.         * include/bits/stl_iterator_base_funcs.h: Minor formatting
  5609.         and indentation tweaks.
  5610.         * include/bits/stl_iterator_base_types.h: Likewise.
  5611.         * include/bits/stl_list.h: Likewise.
  5612.         * include/bits/stl_map.h: Likewise.
  5613.         * include/bits/stl_tempbuf.h: Likewise.
  5614.  
  5615. 2004-02-02  Jerry Quinn  <jlquinn@optonline.net>
  5616.  
  5617.         * include/bits/gslice.h, include/bits/gslice_array.h,
  5618.         include/bits/indirect_array.h, include/bits/mask_array.h,
  5619.         include/bits/slice_array.h, include/bits/stl_numeric.h,
  5620.         include/std/std_valarray.h:  Update copyright years.
  5621.  
  5622. 2004-02-02  Jerry Quinn  <jlquinn@optonline.net>
  5623.  
  5624.         * include/bits/gslice.h (gslice):  Document.
  5625.         * include/bits/gslice_array.h (gslice_array):  Document.
  5626.         * include/bits/indirect_array (indirect_array):  Document.
  5627.         * include/bits/mask_array (mask_array):  Document.
  5628.         * include/bits/slice_array.h (slice,slice_array):  Document.
  5629.         * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
  5630.         adjacent_difference):  Document
  5631.         * include/std/std_valarray.h (valarray):  Document.
  5632.  
  5633. 2004-02-02  Benjamin Kosnik  <bkoz@redhat.com>
  5634.  
  5635.         * docs/html/19_diagnostics/howto.html: Move verbose terminate
  5636.         documentation...
  5637.         * docs/html/18_support/howto.html: Here.
  5638.         * docs/html/documentation.html: Add reference here.
  5639.  
  5640. 2004-02-02  Paolo Carlini  <pcarlini@suse.de>
  5641.  
  5642.         * config/locale/gnu/c++locale_internal.h: Remove prototypes
  5643.         of no longer used GLIBC thread locale functions.
  5644.  
  5645. 2004-02-02  Eric Christopher  <echristo@redhat.com>
  5646.             Zack Weinberg  <zack@codesourcery.com>
  5647.  
  5648.         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
  5649.         -finput-charset.
  5650.         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
  5651.         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
  5652.         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
  5653.         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
  5654.         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
  5655.         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
  5656.         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
  5657.         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
  5658.         Ditto.
  5659.  
  5660. 2004-02-02  Paolo Carlini  <pcarlini@suse.de>
  5661.  
  5662.         * include/bits/stl_function.h: Additional minor tweaks.
  5663.         * include/bits/stl_multiset.h: Likewise.
  5664.  
  5665.         * include/bits/stl_queue.h: Minor tweaks.
  5666.  
  5667. 2004-02-02  Paolo Carlini  <pcarlini@suse.de>
  5668.  
  5669.         PR libstdc++/13976 (continued)
  5670.         * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
  5671.         Make the second parameter unnamed, to void unused parameter
  5672.         warnings.
  5673.         * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
  5674.  
  5675. 2004-02-02  Paolo Carlini  <pcarlini@suse.de>
  5676.  
  5677.         PR libstdc++/13976
  5678.         * include/ext/malloc_allocator.h (malloc_allocator::allocate):
  5679.         Make the second parameter unnamed, to void unused parameter
  5680.         warnings.
  5681.         * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
  5682.         * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
  5683.  
  5684. 2004-02-01  Paolo Carlini  <pcarlini@suse.de>
  5685.  
  5686.         * include/bits/stl_algo.h: Additional minor tweaks.
  5687.         * include/bits/stl_map.h: Likewise.
  5688.         * include/bits/stl_multimap.h: Likewise.
  5689.         * include/bits/stl_multiset.h: Likewise.
  5690.         * include/bits/stl_set.h: Likewise.
  5691.         * include/bits/stl_tree.h: Likewise.
  5692.  
  5693. 2004-02-01  Paolo Carlini  <pcarlini@suse.de>
  5694.  
  5695.         * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
  5696.         Remove, unused.
  5697.  
  5698. 2004-02-01  Paolo Carlini  <pcarlini@suse.de>
  5699.  
  5700.         * include/bits/stl_function.h: Additional minor tweaks.
  5701.  
  5702. 2004-02-01  Paolo Carlini  <pcarlini@suse.de>
  5703.  
  5704.         * include/bits/deque.tcc: Wrap overlong lines, constify
  5705.         a few variables, reformat according to the coding standards.
  5706.         * include/bits/list.tcc: Likewise.
  5707.         * include/bits/stl_deque.h: Likewise.
  5708.         * include/bits/stl_function.h: Likewise.
  5709.         * include/bits/stl_iterator.h: Likewise.
  5710.         * include/bits/stl_iterator_base_funcs.h: Likewise.
  5711.         * include/bits/stl_iterator_base_types.h: Likewise.
  5712.         * include/bits/stl_list.h: Likewise.
  5713.         * include/bits/stl_map.h: Likewise.
  5714.         * include/bits/stl_multimap.h: Likewise.
  5715.         * include/bits/stl_multiset.h: Likewise.
  5716.         * include/bits/stl_relops.h: Likewise.
  5717.         * include/bits/stl_set.h: Likewise.
  5718.  
  5719. 2004-02-01  Paolo Carlini  <pcarlini@suse.de>
  5720.  
  5721.         * include/bits/stl_bvector.h: Wrap overlong lines, constify
  5722.         a few variables, reformat according to the coding standards.
  5723.         * include/bits/stl_tree.h: Likewise.
  5724.  
  5725. 2004-01-31  Paolo Carlini  <pcarlini@suse.de>
  5726.  
  5727.         * include/bits/stl_algo.h: Minor additional reformat, add
  5728.         copyright year.
  5729.         * include/bits/stl_algobase.h: Add copyright year.
  5730.  
  5731. 2004-01-31  Paolo Carlini  <pcarlini@suse.de>
  5732.  
  5733.         * include/bits/stl_algo.h: Wrap overlong lines, constify
  5734.         a few variables, reformat according to the coding standards.
  5735.         * include/bits/stl_algobase.h: Likewise.
  5736.         * include/bits/stl_heap.h: Likewise.
  5737.  
  5738. 2004-01-31  Paolo Carlini  <pcarlini@suse.de>
  5739.  
  5740.         * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
  5741.  
  5742.         * include/bits/basic_string.h: Fix two comments.
  5743.  
  5744. 2004-01-31  Per Bothner  <per@bothner.com>
  5745.  
  5746.         * include/ext/mt_allocator.h
  5747.         (__mt_alloc::_S_thread_freelist_mutex): Guard with
  5748.         __GTHREAD_MUTEX_INIT.
  5749.  
  5750. 2004-01-31  Paolo Carlini  <pcarlini@suse.de>
  5751.  
  5752.         * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
  5753.  
  5754. 2004-01-30  Paolo Carlini  <pcarlini@suse.de>
  5755.  
  5756.         * testsuite/21_strings/basic_string/cons/char/6.cc: New.
  5757.         * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
  5758.         * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
  5759.  
  5760. 2004-01-30  Felix Yen  <fwy@alumni.brown.edu>
  5761.  
  5762.         * testsuite/performance/20_util/allocator_thread.cc (do_loop):
  5763.         Don't use clear, but instead assign. Use insert.
  5764.  
  5765. 2004-01-30  Benjamin Kosnik  <bkoz@redhat.com>
  5766.  
  5767.         * src/demangle.cc: Add instantiations.
  5768.         * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
  5769.         * src/Makefile.in: Regenerate.
  5770.  
  5771. 2004-01-30  David Edelsohn  <edelsohn@gnu.org>
  5772.  
  5773.         * src/allocator.cc: Protect _S_get_thread_id() and
  5774.         _S_thread_key_destr() with #ifdef __GTHREADS.
  5775.  
  5776. 2004-01-30  Paolo Carlini  <pcarlini@suse.de>
  5777.  
  5778.         Reshuffle performance testsuite.
  5779.         * testsuite/performance/allocator.cc, allocator_map_thread.cc,
  5780.         allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
  5781.         cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
  5782.         fstream_seek_write.cc, ifstream_extract_float.cc,
  5783.         ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
  5784.         list_create_fill_sort.cc, map_create_fill.cc,
  5785.         narrow_widen_char.cc, narrow_widen_wchar_t.cc,
  5786.         ofstream_insert_float.cc, ofstream_insert_int.cc,
  5787.         string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
  5788.         wchar_t_out.cc: Split into...
  5789.         * testsuite/performance/20_util/allocator.cc: New.
  5790.         * testsuite/performance/20_util/allocator_map_thread.cc: New.
  5791.         * testsuite/performance/20_util/allocator_thread.cc: New.
  5792.         * testsuite/performance/21_strings/string_append: New.
  5793.         * testsuite/performance/22_locale/is_wchar_t.cc: New.
  5794.         * testsuite/performance/22_locale/narrow_widen_char.cc: New.
  5795.         * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
  5796.         * testsuite/performance/22_locale/wchar_t_in.cc: New.
  5797.         * testsuite/performance/22_locale/wchar_t_length.cc: New.
  5798.         * testsuite/performance/22_locale/wchar_t_out.cc: New.
  5799.         * testsuite/performance/23_containers/container_benchmark.cc: New.
  5800.         * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
  5801.         * testsuite/performance/23_containers/map_create_fill.cc: New.
  5802.         * testsuite/performance/26_numerics/complex_norm.cc: New.
  5803.         * testsuite/performance/27_io/cout_insert_int.cc: New.
  5804.         * testsuite/performance/27_io/filebuf_copy.cc: New.
  5805.         * testsuite/performance/27_io/filebuf_sputc.cc: New.
  5806.         * testsuite/performance/27_io/fstream_seek_write.cc: New.
  5807.         * testsuite/performance/27_io/ifstream_extract_float.cc: New.
  5808.         * testsuite/performance/27_io/ifstream_extract_int.cc: New.
  5809.         * testsuite/performance/27_io/ifstream_getline.cc: New.
  5810.         * testsuite/performance/27_io/ofstream_insert_float.cc: New.
  5811.         * testsuite/performance/27_io/ofstream_insert_int.cc: New.
  5812.  
  5813. 2004-01-30  Paolo Carlini  <pcarlini@suse.de>
  5814.  
  5815.         * include/bits/basic_string.tcc (_Rep::_S_create):
  5816.         Never allocate a string bigger than max_size(); always keep
  5817.         __capacity and __size in sync to avoid memory leaks at
  5818.         deallocation time.
  5819.  
  5820. 2004-01-30  Paolo Carlini  <pcarlini@suse.de>
  5821.  
  5822.         * include/bits/basic_string.tcc (_S_construct(_InIterator,
  5823.         _InIterator, const _Alloc&, input_iterator_tag)): Simplify
  5824.         the double loop, streamline.
  5825.  
  5826.         * include/bits/basic_string.tcc: Very minor tweaks.
  5827.  
  5828. 2004-01-30  Loren J. Rittle  <ljrittle@acm.org>
  5829.  
  5830.         * scripts/check_performance: Only compile with $THREAD_FLAG
  5831.         when test is marked to require it.  Allow multiple
  5832.         compilations/executions of marked tests.
  5833.         * testsuite/testsuite_performance.h (report_performance):
  5834.         Report dynamic thread support status.
  5835.         (report_header): Likewise.
  5836.         * testsuite/performance/allocator.cc: Stabilize iteration
  5837.         count.  Support more allocators.  Mark each allocator test to
  5838.         run and report independently.
  5839.         * testsuite/performance/allocator_map_thread.cc: Likewise.
  5840.         * testsuite/performance/allocator_thread.cc: Likewise.
  5841.  
  5842. 2004-01-29  Stephen M. Webb  <stephen.webb@bregmasoft.com>
  5843.  
  5844.         * config/local/generic/c_locale.h: Change ::malloc() to new char[].
  5845.         * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
  5846.         * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
  5847.         std::get_temporary_buffer() instead of duplicating its code.
  5848.         Update to C++STYLE conventions.
  5849.         * include/std/std_memory.h (get_temporary_buffer): Use ::operator
  5850.         new() instead of std::malloc().
  5851.         (return_temporary_buffer): Use ::operator delete() instead of
  5852.         std::free().
  5853.  
  5854. 2004-01-29  Benjamin Kosnik  <bkoz@redhat.com>
  5855.  
  5856.         * include/bits/allocator.h: Temporary switch to new_allocator as
  5857.         the default to unjam bootstraps.
  5858.  
  5859. 2004-01-28  Benjamin Kosnik  <bkoz@redhat.com>
  5860.  
  5861.         * include/Makefile.am (bits_headers): Remove allocator_traits.h.
  5862.         * include/Makefile.in: Regenerate.
  5863.         * include/bits/allocator_traits.h: Remove.
  5864.         * include/bits/allocator.h: Remove allocator_traits.h include, and
  5865.         relevant comments.
  5866.         (allocator): Empty base class, inherit from the underlying allocator.
  5867.         * src/allocator-inst.cc: Move __pool_alloc instantiation to...
  5868.         * src/allocator.cc: ...here. New. For the underlying allocators.
  5869.         Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
  5870.         * config/linker-map.gnu: Remove __pool_alloc bits.
  5871.         * src/Makefile.am (sources): Add allocator.cc.
  5872.         * src/Makefile.in: Regenerate.
  5873.         * testsuite/20_util/allocator/1.cc: Split second test into...
  5874.         * testsuite/20_util/allocator/8230.cc: ...this.
  5875.         * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
  5876.         typedef to use std::allocatore. Format.
  5877.         * include/ext/pool_allocator.h: Remove allocator_traits.h include,
  5878.         _Alloc_traits.
  5879.         * include/ext/mt_allocator.h (__gnu_cxx): Qualify
  5880.         __throw_bad_alloc calls. Don't include <memory>.
  5881.         * include/ext/malloc_allocator.h: Remove <memory> include.
  5882.         * include/ext/new_allocator.h (new_allocator): Same.
  5883.         * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
  5884.         declaration. Switch __alloc to _Alloc.
  5885.         * include/ext/hashtable.h: Remove __alloc.
  5886.         * include/backward/alloc.h: Only inject allocator, not
  5887.         implementation details.
  5888.  
  5889.         * include/ext/mt_allocator.h: Replace free with delete.
  5890.  
  5891. 2004-01-28  Benjamin Kosnik  <bkoz@redhat.com>
  5892.  
  5893.         * src/globals_io.cc: Change to __gnu_internal namespace.
  5894.         * src/globals_locale.cc: Same.
  5895.         * src/locale_init.cc: Same.
  5896.         * src/ios_init.cc: Same.
  5897.  
  5898. 2004-01-28  Stefan Olsson  <stefan@snon.net>
  5899.  
  5900.         * include/ext/mt_allocator.h: Replaced all malloc() calls with
  5901.         operator new(). Added support for the env variable
  5902.         GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
  5903.         one in allocate() as well). Fix typos.
  5904.  
  5905. 2004-01-28  Paolo Carlini  <pcarlini@suse.de>
  5906.  
  5907.         * include/bits/basic_string.h (_S_create(size_t,
  5908.         const _Alloc&): Change signature to take two size_type
  5909.         arguments.
  5910.         * include/bits/basic_string.tcc (_S_construct(_InIterator,
  5911.         _InIterator, const _Alloc&, input_iterator_tag)): Update
  5912.         call, tweak a bit.
  5913.         (_S_construct(_InIterator, _InIterator, const _Alloc&,
  5914.         forward_iterator_tag)): Likewise.
  5915.         (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
  5916.         (_M_mutate(size_type, size_type, size_type)): Don't
  5917.         implement the exponential growth policy, demand it to
  5918.         _S_create, update call and simplify.
  5919.         (_M_clone(const _Alloc&, size_type)): Likewise.
  5920.         (_S_create(size_type, size_type, const _Alloc&)): Implement
  5921.         the growth policy, simplify otherwise.
  5922.  
  5923.         * include/bits/basic_string.h (_Rep::operator[]): Tweak
  5924.         signature to take a size_type, consistently with the other
  5925.         members.
  5926.  
  5927. 2004-01-27  Benjamin Kosnik  <bkoz@redhat.com>
  5928.  
  5929.         * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
  5930.         delete declarations, add include and test variable.
  5931.  
  5932. 2003-01-27  Jerry Quinn  <jlquinn@optonline.net>
  5933.  
  5934.         * include/bits/codecvt.h, include/bits/locale_facets.h,
  5935.         include/bits/postypes.h, include/bits/stl_bvector.h,
  5936.         include/bits/stl_multiset.h, include/bits/stl_set.h,
  5937.         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
  5938.         include/std/std_complex.h:  Document.
  5939.  
  5940. 2004-01-27  Jerry Quinn  <jlquinn@optonline.net>
  5941.  
  5942.         PR libstdc++/11584
  5943.         * include/bits/ios_base.h (ios_base::_M_grow_words):  Add
  5944.         iword/pword selector.
  5945.         (ios_base::iword, ios_base::pword):  Use it.
  5946.         * src/ios.cc (ios_base::_M_grow_words):  Clear _M_word_zero
  5947.         iword or pword member on alloc failure.
  5948.         * testsuite/27_io/ios_base/storage/11584.cc:  New test.
  5949.  
  5950. 2004-01-27  Ulrich Weigand  <uweigand@de.ibm.com>
  5951.             PJ Darcy  <darcypj@us.ibm.com>
  5952.  
  5953.         * configure.host: Add support for *-tpf.
  5954.         * crossconfig.m4: Likewise.
  5955.         * configure: Regenerate.
  5956.         * config/os/tpf: New directory.
  5957.         * config/os/tpf/os_defines.h: New file.
  5958.         * config/os/tpf/ctype_base.h: Likewise.
  5959.         * config/os/tpf/ctype_inline.h: Likewise.
  5960.         * config/os/tpf/ctype_noninline.h: Likewise.
  5961.  
  5962. 2004-01-27  Paolo Carlini  <pcarlini@suse.de>
  5963.  
  5964.         PR libstdc++/13884
  5965.         * include/bits/sstream.tcc: Guard use of extern template.
  5966.  
  5967. 2004-01-27  Paolo Carlini  <pcarlini@suse.de>
  5968.  
  5969.         * include/bits/basic_string.tcc
  5970.         (basic_string(const basic_string&, size_type, size_type),
  5971.         basic_string(const basic_string&, size_type, size_type,
  5972.         const _Alloc&)): Avoid unnecessarily constructing iterators.
  5973.  
  5974. 2004-01-26  Paolo Carlini  <pcarlini@suse.de>
  5975.  
  5976.         * config/locale/generic/c_locale.cc: Fix throw messages
  5977.         to use the __N marker.
  5978.         * config/locale/gnu/c_locale.cc: Likewise.
  5979.         * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
  5980.         Likewise.
  5981.         * docs/html/17_intro/C++STYLE: Likewise.
  5982.         * include/bits/basic_ios.tcc: Likewise.
  5983.         * include/bits/fstream.tcc: Likewise.
  5984.         * include/bits/vector.tcc: Likewise.
  5985.         * include/ext/ropeimpl.h: Likewise.
  5986.         * include/std/std_bitset.h: Likewise.
  5987.         * src/ios.cc: Likewise.
  5988.         * src/locale.cc: Likewise.
  5989.         * src/localename.cc: Likewise.
  5990.  
  5991. 2004-01-26  Paolo Carlini  <pcarlini@suse.de>
  5992.  
  5993.         * include/bits/basic_string.h (_M_replace_aux): Use the
  5994.         __N marker in throw message.
  5995.         * include/bits/basic_string.tcc (assign(const _CharT*,
  5996.         size_type), insert(size_type, const _CharT*, size_type),
  5997.         replace(size_type, size_type, const _CharT*, size_type),
  5998.         reserve, _Rep::_S_create, resize, _M_replace_dispatch):
  5999.         Likewise.
  6000.  
  6001.         * include/bits/basic_string.h, include/bits/basic_string.tcc:
  6002.         Fold overlong lines, minor formatting changes.
  6003.  
  6004. 2004-01-26  Paolo Carlini  <pcarlini@suse.de>
  6005.  
  6006.         * include/bits/basic_string.h (replace(iterator, iterator,
  6007.         const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
  6008.         (replace(iterator, iterator, const _CharT*)): Ditto.
  6009.         (replace(iterator, iterator, const _CharT*, size_type)):
  6010.         Add missing _GLIBCXX_DEBUG_PEDASSERT.
  6011.  
  6012. 2004-01-26  Paolo Carlini  <pcarlini@suse.de>
  6013.  
  6014.         * include/bits/basic_string.tcc (replace(size_type,
  6015.         size_type, const _CharT*, size_type)): Implement optimized
  6016.         in-place algorithm for non-overlapping ranges.
  6017.         * testsuite/21_strings/basic_string/replace/char/6.cc: New.
  6018.         * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
  6019.  
  6020.         * include/bits/basic_string.tcc (insert(size_type,
  6021.         const _CharT*, size_type)): Tweak slightly.
  6022.  
  6023. 2004-01-26  Andreas Schwab  <schwab@suse.de>
  6024.  
  6025.         * config/locale/gnu/monetary_members.cc: Restore locale before
  6026.         rethrowing exception.
  6027.  
  6028. 2004-01-25  Paolo Carlini  <pcarlini@suse.de>
  6029.  
  6030.         * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
  6031.         Define inline here.
  6032.         * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
  6033.         Move inline.
  6034.  
  6035.         * include/bits/basic_string.tcc: Very minor tweaks.
  6036.  
  6037. 2004-01-25  Paolo Carlini  <pcarlini@suse.de>
  6038.  
  6039.         * testsuite/performance/string_append.cc: Increase number
  6040.         of iterations.
  6041.  
  6042. 2004-01-25  Paolo Carlini  <pcarlini@suse.de>
  6043.  
  6044.         * include/bits/basic_string.h (erase(size_type, size_type),
  6045.         erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
  6046.         instead, thus avoiding redundant check for length_error.
  6047.  
  6048.         * include/bits/basic_string.h: Tweak some comments.
  6049.  
  6050. 2004-01-24  Paolo Carlini  <pcarlini@suse.de>
  6051.  
  6052.         * include/bits/basic_string.tcc (operator+(const _CharT*,
  6053.         const basic_string&)): No need to go through the append
  6054.         taking two iterators.
  6055.  
  6056. 2004-01-24  Paolo Carlini  <pcarlini@suse.de>
  6057.  
  6058.         * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
  6059.         Revert last change to use std::min: machine language is worse.
  6060.         (find_last_of(const _CharT*, size_type, size_type)): Ditto.
  6061.         (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
  6062.         (find_last_not_of(_CharT, size_type)): Ditto.
  6063.  
  6064.         * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
  6065.         size_type)): Discard the value returned by _M_check.
  6066.         (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
  6067.         (append(const basic_string&, size_type, size_type)): Ditto.
  6068.         (copy(_CharT*, size_type, size_type)): Ditto.
  6069.         (compare(size_type, size_type, const basic_string&)): Ditto.
  6070.         (compare(size_type, size_type, const basic_string&,
  6071.         size_type, size_type)): Ditto.
  6072.         (compare(size_type, size_type, const _CharT*)): Ditto.
  6073.         (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
  6074.  
  6075. 2004-01-24  Paolo Carlini  <pcarlini@suse.de>
  6076.  
  6077.         * include/bits/basic_string.h (insert(size_type,
  6078.         const basic_string&, size_type, size_type)): Define inline here.
  6079.         * include/bits/basic_string.tcc (insert(size_type,
  6080.         const basic_string&, size_type, size_type)): Move inline.
  6081.  
  6082. 2004-01-24  Paolo Carlini  <pcarlini@suse.de>
  6083.  
  6084.         * include/bits/basic_string.h (assign(const basic_string&,
  6085.         size_type, size_type)): Define inline here.
  6086.         (replace(size_type, size_type, const basic_string&,
  6087.         size_type, size_type)): Ditto.
  6088.         (_M_replace_dispatch(iterator, iterator, _InputIterator,
  6089.         _InputIterator, __false_type)): Only declare.
  6090.         (_M_replace(iterator, iterator, _InputIterator,
  6091.         _InputIterator)): Remove.
  6092.         * include/bits/basic_string.tcc (assign(const basic_string&,
  6093.         size_type, size_type)): Move inline.
  6094.         (replace(size_type, size_type, const basic_string&,
  6095.         size_type, size_type)): Ditto.
  6096.         (_M_replace_dispatch(iterator, iterator, _InputIterator,
  6097.         _InputIterator, __false_type)): Define, now does also what
  6098.         _M_replace did before.
  6099.         * src/string-inst.cc (_M_replace): Don't instantiate.
  6100.  
  6101.         * include/bits/basic_string.tcc (find(const _CharT*,
  6102.         size_type, size_type)): Tidy.
  6103.         (rfind(_CharT, size_type)): Ditto.
  6104.         (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
  6105.         (find_first_not_of(_CharT, size_type)): Ditto.
  6106.         (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
  6107.         (find_last_not_of(_CharT, size_type)): Ditto.
  6108.  
  6109. 2004-01-23  Paolo Carlini  <pcarlini@suse.de>
  6110.  
  6111.         PR libstdc++/13838
  6112.         * include/debug/bitset (operator|=): Fix typo.
  6113.         * testsuite/23_containers/bitset/operations/13838.cc: New.
  6114.  
  6115. 2004-01-23  Paolo Carlini  <pcarlini@suse.de>
  6116.  
  6117.         * include/bits/basic_string.tcc (insert(size_type,
  6118.         const _CharT*, size_type __n)): Fix length_error check.
  6119.         (replace(size_type, size_type, const _CharT*, size_type):
  6120.         Ditto; call _M_replace_safe.
  6121.         (_M_replace_aux(size_type, size_type, size_type, _CharT):
  6122.         Fix length_error check.
  6123.         (_M_replace(iterator, iterator, _InputIterator,
  6124.         _InputIterator)): Ditto, tweak.
  6125.         (_M_replace_safe(size_type, size_type, const _CharT*,
  6126.         size_type)): Remove length_error check.
  6127.  
  6128.         * include/bits/basic_string.tcc (append(const basic_string&),
  6129.         append(const basic_string&, size_type, size_type)): Tweak
  6130.         comment.
  6131.  
  6132.         * include/bits/basic_string.tcc (copy(_CharT*, size_type,
  6133.         size_type)): If __n == 0 don't call traits::copy.
  6134.  
  6135. 2004-01-23  Stefan Olsson  <stefan@snon.net>
  6136.  
  6137.         * include/ext/mt_allocator.h: Reduce lock contention.
  6138.  
  6139. 2004-01-23  Paolo Carlini  <pcarlini@suse.de>
  6140.  
  6141.         PR libstdc++/13831
  6142.         * include/bits/fstream.tcc (underflow): Remove unused
  6143.         variable.
  6144.         * include/bits/streambuf_iterator.h (equal): Ditto.
  6145.         * include/bits/locale_facets.h (_M_convert_from_char):
  6146.         Ditto.
  6147.  
  6148. 2004-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
  6149.  
  6150.         PR c/13814
  6151.         * config/linker-map.gnu (nan): Delete.
  6152.         * libmath/mathconf.h (NAN, nan): Delete.
  6153.         * linkage.m4 (nan): Don't check for it.
  6154.         * libmath/nan.c: Delete file.
  6155.  
  6156.         * config.h.in, configure: Regenerate.
  6157.  
  6158. 2004-01-23  Paolo Carlini  <pcarlini@suse.de>
  6159.  
  6160.         * include/bits/basic_string.h (push_back(_CharT)):
  6161.         Call _M_replace_aux.
  6162.         (insert(size_type, const basic_string&)): Trivial tweak.
  6163.         (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
  6164.         (insert(iterator, _CharT)): Ditto.
  6165.         (erase(size_type, size_type)): Ditto.
  6166.         (erase(iterator)): Ditto.
  6167.         (erase(iterator, iterator)): Ditto.
  6168.         (replace(size_type, size_type, size_type, _CharT)): Ditto.
  6169.  
  6170. 2004-01-23  Loren J. Rittle  <ljrittle@acm.org>
  6171.  
  6172.         libstdc++/13823
  6173.         * testsuite/performance/allocator_map_thread.cc: New test.
  6174.  
  6175. 2004-01-22  Paolo Carlini  <pcarlini@suse.de>
  6176.  
  6177.         * include/bits/locale_facets.tcc
  6178.         (money_put::do_put(..., long double)): Use the basic_string
  6179.         constructor for char arrays, not that for C-strings, to pass
  6180.         __digits to do_put(..., const string_type&): __ws isn't
  6181.         null-terminated.
  6182.  
  6183. 2004-01-22  Paolo Carlini  <pcarlini@suse.de>
  6184.  
  6185.         * include/bits/basic_string.h (_M_replace_safe): Change
  6186.         signatures to take size_types and const _CharT*.
  6187.         (_M_replace_aux): Likewise, takes size_types instead of
  6188.         iterators.
  6189.         (append(size_type, _CharT)): Update call.
  6190.         (assign(size_type, _CharT)): Ditto.
  6191.         (replace(iterator, iterator, size_type, _CharT)): Ditto.
  6192.         (_M_replace_dispatch(iterator, iterator, _Integer,
  6193.         _Integer, __true_type)): Ditto.
  6194.         * include/bits/basic_string.tcc (assign(const _CharT*,
  6195.         size_type)): Ditto.
  6196.         (insert(size_type, const _CharT*, size_type)): Ditto.
  6197.         (replace(size_type, size_type, const _CharT*,
  6198.         size_type)): Ditto.
  6199.         (_M_replace(iterator, iterator, _InputIterator,
  6200.         _InputIterator)): Ditto.
  6201.         (append(const basic_string&)): Ditto.
  6202.         (append(const basic_string&, size_type, size_type): Ditto.
  6203.         (append(const _CharT*, size_type): Ditto.
  6204.         (_M_replace_safe, _M_replace_safe): Change definitions
  6205.         accordingly, simplify.
  6206.         * string-inst.cc (_M_replace_safe): Don't instantiate.
  6207.  
  6208. 2004-01-21  Paolo Carlini  <pcarlini@suse.de>
  6209.  
  6210.         * include/bits/basic_string.tcc (append(const basic_string&)):
  6211.         Revert previous change.
  6212.         (append(const basic_string&, size_type, size_type)): Revert
  6213.         previous change, use _M_check and _M_limit.
  6214.  
  6215. 2004-01-21  Paolo Carlini  <pcarlini@suse.de>
  6216.  
  6217.         * include/bits/basic_string.h (_M_check): Change to return
  6218.         a checked __pos and take an additional const char* argument.
  6219.         (_M_fold): Rename to _M_limit, change to return a size_type,
  6220.         corresponding to the __off limited to the actual length.
  6221.         (insert(size_type, size_type, _CharT)): Update call, call
  6222.         replace.
  6223.         (insert(iterator, _CharT)): Call replace(iterator, iterator,
  6224.         size_type, _CharT) instead.
  6225.         (erase(size_type, size_type)): Update calls.
  6226.         (replace(size_type, size_type, size_type, _CharT)): Ditto.
  6227.         (substr(size_type, size_type)): Use _M_check.
  6228.         * include/bits/basic_string.tcc (basic_string(const basic_string&,
  6229.         size_type, size_type)): Update calls.
  6230.         (basic_string(const basic_string&, size_type, size_type,
  6231.         const _Alloc&)): Ditto.
  6232.         (assign(const basic_string&, size_type, size_type)): Use the
  6233.         new _M_check and _M_limit.
  6234.         (insert(size_type, const basic_string&, size_type, size_type):
  6235.         Ditto.
  6236.         (insert(size_type, const _CharT*, size_type)): Ditto.
  6237.         (replace(size_type, size_type, const _CharT*, size_type): Ditto.
  6238.         (replace(size_type, size_type, const basic_string&,
  6239.         size_type, size_type)): Ditto.
  6240.         (append(const basic_string&)): Ditto.
  6241.         (append(const basic_string&, size_type, size_type)): Ditto.
  6242.         (copy(_CharT*, size_type, size_type)): Ditto.
  6243.         (compare(size_type, size_type, const basic_string&)): Ditto.
  6244.         (compare(size_type, size_type, const basic_string&,size_type,
  6245.         size_type)): Ditto.
  6246.         (compare(size_type, size_type, const _CharT*)): Ditto.
  6247.         (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
  6248.  
  6249. 2004-01-19  Stefan Olsson  <stefan@snon.net>
  6250.  
  6251.         * include/ext/mt_allocator.h: If a thread, when it dies, still has
  6252.         memory on it's freelist this memory is not returned to global
  6253.         list. Simplification of deallocate so that memory is always
  6254.         returned to the calling thread id's freelist instead of to
  6255.         global. Fix typos. Add volatile where appropriate.
  6256.  
  6257. 2004-01-19  Loren J. Rittle  <ljrittle@acm.org>
  6258.  
  6259.         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
  6260.         * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test.  Like -2 but
  6261.         use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
  6262.  
  6263. 2004-01-19  Paolo Carlini  <pcarlini@suse.de>
  6264.  
  6265.         * src/debug.cc: Make sure all the names are prefixed with
  6266.         double (or single) underscore.
  6267.  
  6268. 2004-01-19  Paolo Carlini  <pcarlini@suse.de>
  6269.  
  6270.         * src/debug.cc: Trivial formatting change.
  6271.  
  6272. 2004-01-19  Paolo Carlini  <pcarlini@suse.de>
  6273.  
  6274.         * include/bits/basic_string.tcc (_S_construct(size_type,
  6275.         _CharT, const _Alloc&)): Remove redundant try/catch.
  6276.         (_M_mutate(size_type, size_type, size_type)): Ditto.
  6277.         (_M_clone(const _Alloc&, size_type)): Ditto.
  6278.  
  6279. 2004-01-18  Paolo Carlini  <pcarlini@suse.de>
  6280.  
  6281.         * include/bits/basic_string.h (c_str()): Simplify, due to
  6282.         21.3.4 the internal representation is always kept null-terminated.
  6283.         * include/bits/basic_string.tcc (_M_clone): Null-terminate.
  6284.         * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
  6285.         * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
  6286.         Ditto.
  6287.  
  6288. 2004-01-18  Paolo Carlini  <pcarlini@suse.de>
  6289.  
  6290.         * include/bits/basic_string.h (append(size_type, _CharT)):
  6291.         Moved inline, just call _M_replace_aux, no source iterators at
  6292.         risk of being clobbered.
  6293.         (assign(size_type, _CharT)): Call directly _M_replace_aux.
  6294.         (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
  6295.         input_iterator_tag)): Remove fifth unused argument.
  6296.         (_M_replace_dispatch(iterator, iterator, _InputIterator,
  6297.         _InputIterator, __false_type)): Update call.
  6298.         * include/bits/basic_string.tcc (replace(size_type, size_type,
  6299.         const _CharT*, size_type)): Update call.
  6300.         (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
  6301.         throw string literal.
  6302.         (_M_replace_safe(iterator, iterator, _ForwardIterator,
  6303.         _ForwardIterator)): Likewise.
  6304.         (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
  6305.         input_iterator_tag)): Remove fifth unused argument.
  6306.         (append(size_type __n, _CharT __c)): Move inline.
  6307.         * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
  6308.         const C*, const C*, input_iterator_tag)): Remove fifth unused
  6309.         argument.
  6310.  
  6311. 2004-01-16  Benjamin Kosnik  <bkoz@redhat.com>
  6312.  
  6313.         * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
  6314.         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
  6315.  
  6316. 2004-01-16  Danny Smith  <dannysmith@users.sourceforge.net>
  6317.  
  6318.         * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
  6319.         mkfifo for mingw32.
  6320.  
  6321. 2004-01-15  Stefan Olsson  <stefan@snon.net>
  6322.  
  6323.         * include/ext/mt_allocator.h: Reuse thread id's as soon as
  6324.         possible by changing the behaviour of thread_freelist to do
  6325.         push_front when threads die instead of push_back.
  6326.  
  6327. 2004-01-14  Paolo Carlini  <pcarlini@suse.de>
  6328.  
  6329.         * include/bits/locale_facets.h (struct __numpunct_cache):
  6330.         Add member _M_grouping_size, caching the length of _M_grouping.
  6331.         (__numpunct_cache<>::_M_cache): Assign the latter.
  6332.         (__verify_grouping): Move declaration...
  6333.         * include/bits/locale_facets.tcc (__verify_grouping):
  6334.         ... here, change signature to take a const char* and a size_t
  6335.         for the grouping; not a template anymore.
  6336.         (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
  6337.         Likewise change signature and tweak consistently.
  6338.         (num_get::_M_extract_float, num_get::_M_extract_int,
  6339.         num_put::_M_insert_int, num_put::_M_insert_float,
  6340.         money_get::do_get(string_type&), money_get::do_put(string_type)):
  6341.         Update callers.
  6342.         * config/locale/generic/numeric_members.cc
  6343.         (numpunct<>::_M_initialize_numpunct): Assign the new member.
  6344.         * config/locale/gnu/numeric_members.cc
  6345.         (numpunct<>::_M_initialize_numpunct): Likewise.
  6346.         * src/locale-inst.cc (__add_grouping): Tweak signature.
  6347.         (__verify_grouping): Don't instantiate, not a template anymore.
  6348.  
  6349.         * include/bits/locale_facets.h: Rename _M_truename_len ->
  6350.         _M_truename_size, _M_falsename_len -> _M_falsename_size.
  6351.         * include/bits/locale_facets.tcc: Likewise.
  6352.         * config/locale/generic/numeric_members.cc: Likewise.
  6353.         * config/locale/gnu/numeric_members.cc: Likewise.
  6354.  
  6355. 2004-01-14  Stefan Olsson  <stefan@snon.net>
  6356.  
  6357.         * include/ext/mt_allocator.h: Fixups.
  6358.         * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
  6359.         * testsuite/performance/allocator_thread.cc: Same.
  6360.  
  6361. 2004-01-13  Benjamin Kosnik  <bkoz@redhat.com>
  6362.  
  6363.         * testsuite/performance/ifstream_extract_float.cc: Add higher
  6364.         precision tests.
  6365.         * testsuite/performance/ofstream_insert_float.cc: Same.
  6366.  
  6367. 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
  6368.  
  6369.         * src/locale-misc-inst.cc (__convert_from_v(long),
  6370.         __convert_from_v(unsigned long), __convert_from_v(long long),
  6371.         __convert_from_v(unsigned long long)): Remove, unused.
  6372.  
  6373. 2004-01-13  Benjamin Kosnik  <bkoz@redhat.com>
  6374.  
  6375.         * testsuite/performance/ifstream_extract_float.cc: New.
  6376.         * testsuite/performance/ofstream_insert_float.cc: Float generation
  6377.         matches above.
  6378.  
  6379.         * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
  6380.         * 20_util/auto_ptr/1.cc: ...this.
  6381.         * 20_util/auto_ptr/2.cc: Same.
  6382.         * 20_util/auto_ptr/3.cc: Same.
  6383.         * 20_util/auto_ptr/3946.cc: Same.
  6384.         * 20_util/auto_ptr/4.cc: Same.
  6385.         * 20_util/auto_ptr/5.cc: Same.
  6386.         * 20_util/auto_ptr/6.cc: Same.
  6387.         * 20_util/auto_ptr/7.cc: Same.
  6388.         * 20_util/auto_ptr/assign_neg.cc
  6389.         * 20_util/pairs.cc: Break into...
  6390.         * 20_util/pair/1.cc: ...this.
  6391.         * 20_util/pair/2.cc: Same.
  6392.         * 20_util/pair/3.cc: Same.
  6393.         * 20_util/pair/4.cc: Same.
  6394.  
  6395. 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
  6396.  
  6397.         * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
  6398.         Set correctly just basefield, the only group that matters.
  6399.  
  6400. 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
  6401.  
  6402.         * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
  6403.         (_Rope_rep_base): Inherit directly from the rope allocator;
  6404.         use rebinding instead of _Alloc_traits; pick up data member
  6405.         from _Rope_rep_alloc_base.
  6406.         (_Rope_alloc_base): Eliminate.
  6407.         (_Rope_base): Inherit directly from the rope allocator; use
  6408.         rebinding instead of _Alloc_traits; pick up data member from
  6409.         _Rope_alloc_base.
  6410.         (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
  6411.         rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
  6412.  
  6413. 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
  6414.  
  6415.         PR libstdc++/13650
  6416.         * include/bits/basic_string.tcc (compare(size_type, size_type,
  6417.         const _CharT*, size_type)): Implement correctly the resolution
  6418.         of DR 5: basically, s is a char array, -not- a C string.
  6419.         * include/bits/basic_string.h: Tweak some comments.
  6420.         * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
  6421.         * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
  6422.  
  6423. 2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>
  6424.  
  6425.         * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
  6426.         Solaris.
  6427.  
  6428. 2004-01-12  Paolo Carlini  <pcarlini@suse.de>
  6429.  
  6430.         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
  6431.         Use try_mkfifo.
  6432.         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
  6433.         Likewise.
  6434.  
  6435. 2004-01-12  Paolo Carlini  <pcarlini@suse.de>
  6436.  
  6437.         * include/bits/locale_facets.h (struct __numpunct_cache):
  6438.         Add members _M_truename_len and _M_falsename_len, caching
  6439.         the lengths of _M_truename and _M_falsename.
  6440.         (__numpunct_cache<>::_M_cache): Assign the latter.
  6441.         * include/bits/locale_facets.tcc (num_get::do_get(bool&),
  6442.         num_put::do_put(bool)): Use the new members, thus avoiding
  6443.         computing string lengths again and again.
  6444.         * config/locale/generic/numeric_members.cc
  6445.         (numpunct<>::_M_initialize_numpunct): Assign the new members.
  6446.         * config/locale/gnu/numeric_members.cc
  6447.         (numpunct<>::_M_initialize_numpunct): Likewise.
  6448.  
  6449. 2004-01-12  Mark Mitchell  <mark@codesourcery.com>
  6450.  
  6451.         * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
  6452.         * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
  6453.         it.
  6454.         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
  6455.         and remove Cygwin XFAIL.
  6456.         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
  6457.         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
  6458.         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
  6459.         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
  6460.         Likewise.
  6461.         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
  6462.         * testsuite/27_io/objects/char/7.cc: Likewise.
  6463.         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
  6464.         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
  6465.         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
  6466.  
  6467. 2004-01-11  Gabriel Dos Reis  <gdr@integrable-solutions.net>
  6468.  
  6469.         * include/std/std_complex.h (std::complex<>::real): Return a
  6470.         reference. Add non-const overload.
  6471.         (std::complex<>::real): Likewise.
  6472.         (std::real): Likewise.
  6473.         (std::imag): Likewise.
  6474.         (std::operator+): Tidy.
  6475.         (std::operator-): Likewise.
  6476.         (std::operator*): Likewise.
  6477.         (std::operator/): Likewise.
  6478.         (std::operator>>): Likewise.
  6479.  
  6480. 2004-01-11  Paolo Carlini  <pcarlini@suse.de>
  6481.  
  6482.         PR libstdc++/13582
  6483.         * include/bits/fstream.tcc (imbue): Exploit the external
  6484.         buffer to imbue 'on the fly' a new locale and convert its
  6485.         remainder with the new codecvt facet.
  6486.         (underflow): Tweak slightly to deal with this special case.
  6487.         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
  6488.         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
  6489.         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
  6490.         * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
  6491.         * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
  6492.  
  6493. 2004-01-10  Paolo Carlini  <pcarlini@suse.de>
  6494.  
  6495.         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
  6496.         Import Revision 28.
  6497.  
  6498. 2004-01-10  Paolo Carlini  <pcarlini@suse.de>
  6499.  
  6500.         PR libstdc++/13630
  6501.         * include/bits/locale_classes.h (class locale): Fix category
  6502.         typedef.
  6503.         * testsuite/22_locale/locale/13630.cc: Add.
  6504.  
  6505. 2004-01-10  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
  6506.  
  6507.         * include/bits/locale_facets.h: Make a name really dependent. This
  6508.         will be needed when Core Issue 224 is implemented.
  6509.  
  6510. 2004-01-09  Paolo Carlini  <pcarlini@suse.de>
  6511.  
  6512.         * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
  6513.         * testsuite/performance/allocator_thread.cc: Likewise.
  6514.  
  6515. 2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>
  6516.  
  6517.         * crossconfig.m4: Add LFS, io bits to linux cross config.
  6518.         * acconfig.h: Remove obsolete bits, reorder.
  6519.         * config.h.in: Regenerate.
  6520.         * aclocal.m4: Same.
  6521.         * configure: Same.
  6522.  
  6523. 2004-01-07  Gawain Bolton  <gp.bolton@computer.org>
  6524.  
  6525.         * include/bits/stl_list.h:
  6526.         * include/bits/list.tc:
  6527.         * src/list.cc:
  6528.         Performance enhancements for destructor, push_front(),
  6529.         push_back(), pop_front(), pop_back(), sort()
  6530.         Eliminated static_casts where possible.
  6531.         Moved code out of header files into new src/list.cc
  6532.         implementation file for library where possible.
  6533.         Remove inheritance from iterator class and create separate
  6534.         classes for non-constant and constant iterators.
  6535.         * include/bits/stl_tree.h (_Rb_tree class):
  6536.         * src/tree.cc:
  6537.         Only erase contents in destructor.
  6538.         Eliminate unnecessary initialization in assignment operator.
  6539.         Optimize for the nominal case by not checking whether
  6540.         container is empty in clear().
  6541.         Re-order test in _M_insert() to improve performance.
  6542.         Move initialization of new node's left & right pointers to
  6543.         src/tree.cc to where new node's colour is initialized
  6544.         and to reduce the amount of inline code.
  6545.         Use  _M_leftmost() and _M_end() to improve readability where
  6546.         appropriate.
  6547.         Create separate classes for non-constant and constant
  6548.         iterators to clarify code, avoid extra template parameters and
  6549.         casting away constness.
  6550.  
  6551. 2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>
  6552.  
  6553.         * src/Makefile.am (sources): Add list.cc, tree.cc.
  6554.         * src/stl_tree.cc: Move to...
  6555.         * src/tree.cc: ...here.
  6556.         * src/list.cc: Add.
  6557.         * config/linker-map.gnu: Tweaks.
  6558.         * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
  6559.         * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
  6560.  
  6561.         * bits/stl_vector.h: Column wrap comments.
  6562.  
  6563. 2004-01-07  Loren J. Rittle  <ljrittle@acm.org>
  6564.  
  6565.         (re-open) PR libstdc++/12658
  6566.         * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
  6567.         (locale::global): Likewise.
  6568.  
  6569. 2004-01-07  Paolo Carlini  <pcarlini@suse.de>
  6570.  
  6571.         * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
  6572.         Remove redundant #include.
  6573.         * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
  6574.         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
  6575.         re-enable normal testing.
  6576.         * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
  6577.         #include.
  6578.         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
  6579.         * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
  6580.         Likewise.
  6581.         * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
  6582.         Likewise.
  6583.         * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
  6584.         Likewise.
  6585.         * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
  6586.         Likewise.
  6587.         * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
  6588.         Likewise.
  6589.         * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
  6590.         Likewise.
  6591.         * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
  6592.         Likewise.
  6593.         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
  6594.         More properly, #include <locale>.
  6595.         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
  6596.         Remove redundant #include.
  6597.         * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
  6598.         * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
  6599.         redundant DejaGnu directive.
  6600.         * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
  6601.         redundant #include.
  6602.  
  6603. 2004-01-06  Benjamin Kosnik  <bkoz@redhat.com>
  6604.             Stefan Olsson  <stefan@snon.net>
  6605.  
  6606.         * scripts/check_performance: Use -pthread.
  6607.         * testsuite/performance/allocator.cc: Tweaks, add list.
  6608.         * testsuite/performance/allocator_thread.cc: New.
  6609.  
  6610. 2004-01-06  Jerry Quinn  <jlquinn@optonline.net>
  6611.  
  6612.         * include/bits/locale_facets.h: Document public classes and
  6613.         functions.
  6614.         * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
  6615.         Add comment.
  6616.  
  6617. 2004-01-06  Paolo Carlini  <pcarlini@suse.de>
  6618.  
  6619.         * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
  6620.         Remove redundant #includes.
  6621.         * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
  6622.         Likewise.
  6623.         * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
  6624.         Likewise.
  6625.         * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
  6626.         * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
  6627.         * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
  6628.         * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
  6629.         * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
  6630.         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
  6631.         * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
  6632.         * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
  6633.         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
  6634.         * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
  6635.         * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
  6636.         * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
  6637.         * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
  6638.         * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
  6639.         * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
  6640.         Likewise.
  6641.         * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
  6642.         Likewise.
  6643.         * testsuite/27_io/basic_istream/readsome/char/8258.cc:
  6644.         Likewise.
  6645.         * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
  6646.         Likewise.
  6647.         * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
  6648.         Likewise.
  6649.         * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
  6650.         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
  6651.         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
  6652.  
  6653. 2004-01-04  Paolo Carlini  <pcarlini@suse.de>
  6654.  
  6655.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
  6656.         Remove redundant #includes.
  6657.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
  6658.         Likewise.
  6659.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
  6660.         Likewise.
  6661.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
  6662.         Likewise.
  6663.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
  6664.         Likewise.
  6665.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
  6666.         Likewise.
  6667.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
  6668.         Likewise.
  6669.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
  6670.         Likewise.
  6671.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
  6672.         Likewise.
  6673.         * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
  6674.         Likewise.
  6675.         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
  6676.         Likewise.
  6677.         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
  6678.         Likewise.
  6679.         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
  6680.         Likewise.
  6681.  
  6682. 2004-01-04  Mark Mitchell  <mark@codesourcery.com>
  6683.  
  6684.         PR c++/12226
  6685.         * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
  6686.         constructor.
  6687.         * testsuite/27_io/basic_fstream/4.cc: Likewise.
  6688.         * testsuite/27_io/basic_ifstream/4.cc: Likewise.
  6689.         * testsuite/27_io/basic_ios/4.cc: Likewise.
  6690.         * testsuite/27_io/basic_iostream/4.cc: Likewise.
  6691.         * testsuite/27_io/basic_istream/4.cc: Likewise.
  6692.         * testsuite/27_io/basic_istingstream/4.cc: Likewise.
  6693.         * testsuite/27_io/basic_ofstream/4.cc: Likewise.
  6694.         * testsuite/27_io/basic_ostream/4.cc: Likewise.
  6695.         * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
  6696.         * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
  6697.         * testsuite/27_io/basic_stringstream/4.cc: Likewise.
  6698.  
  6699. 2004-01-04  Paolo Carlini  <pcarlini@suse.de>
  6700.  
  6701.         * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
  6702.         Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
  6703.         always use double underscored names.
  6704.         * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
  6705.         Likewise.
  6706.         * include/bits/locale_facets.h (struct __numpunct_cache):
  6707.         Dimension _M_atoms_out and _M_atoms_in one position smaller.
  6708.         (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out
  6709.         and _M_atoms_in.
  6710. Copyright (C) 2004 Free Software Foundation, Inc.
  6711.  
  6712. Copying and distribution of this file, with or without modification,
  6713. are permitted in any medium without royalty provided the copyright
  6714. notice and this notice are preserved.
  6715.