OSDN Git Service

* configure.ac: Set ABI_TWEAKS_SRCDIR.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 63df31b..9272f15 100644 (file)
@@ -1,3 +1,172 @@
+2004-07-03  Paul Brook  <paul@codesourcery.com>
+
+       * configure.ac: Set ABI_TWEAKS_SRCDIR.
+       * configure.host: Set abi_tweaks_dir.  Check for atomicity.h when
+       setting atomicity_dir.  Override type_cpu for arm based targets.
+       * include/Makefile.am (host_headers): Add cxxabi_tweaks.h.
+       * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard.
+       * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h.
+       * libsupc++/vec.cc: Ditto.
+       * config/cpu/arm/cxxabi_tweaks.h: New file.
+       * config/cpu/generic/cxxabi_tweaks.h: New file.
+       * */Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2004-07-02  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/type_traits.h (_Is_normal_iterator): Move...
+       * include/bits/cpp_type_traits.h: ... here, renamed to
+       __is_normal_iterator and consistent with the other traits.
+       * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
+       to the struct __copy_normal and three specializations.
+       (__copy_backward_output_normal_iterator,
+       __copy_backward_input_normal_iterator): Likewise, convert to
+       the struct __copy_backward_normal and three specializations.
+       (copy, copy_backward): Use the latter.
+       (__copy_aux, __copy_backward_aux): Very minor tweaks.
+
+2004-07-01  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/stl_algobase.h (__copy_trivial): Remove.
+       (__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
+       __is_trivially_copyable, __are_same and __copy::copy.
+       (__copy): Rewrite as a class template and two specializations.
+       (__copy_ni2): Simplify, just call __copy_aux.
+       
+       * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
+       check.
+       * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
+       for destination value type != source value type.
+
+2004-07-01  Benjamin Kosnik  <bkoz@redhat.com>
+            Per Bothner  <per@bothner.com>
+           Mohan Embar  <gnustuff@thisiscool.com>
+
+       PR libstdc++/16248
+       * include/bits/concurrence.h (__glibcxx_mutex_type): New.
+       (__glibcxx_mutex): Encapsulate mutex init function into type for
+       threaded configurations without __GTHREAD_MUTEX_INIT.
+       (lock::lock): Make device member a reference.
+       (lock::~lock): Same.
+       * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
+       to mutex_type.
+       * src/allocator.cc: Same.
+       
+2004-06-30  Brad Spencer  <spencer@infointeractive.com>
+
+       * include/ext/mt_allocator.h: Handle allocations at static
+       initialization that happen before _S_options is (automatically)
+       constructed; set _S_init even if _M_force_new is true.
+       
+2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * config/linker-map.gnu: Revert new exports.
+
+2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
+            Stuart Anderson  <anderson@netsweng.com>
+       
+       * config/linker-map.gnu: Add destructor exports for abstract base
+       classes to conform to LSB.
+
+2004-06-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+            Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/cpp_type_traits.h: Add __is_pointer and
+       __is_trivially_copyable.
+       * include/bits/stl_algobase.h (fill, fill_n): Slightly
+       tweak to use the latter.
+       (__copy_backward_dispatch): Remove.
+       (__copy_backward_aux): Rewrite to use __is_pointer and
+       __is_trivially_copyable and __copy_backward::copy_b.
+       (__copy_backward): Rewrite as a class template and two
+       specializations.
+
+2004-06-30  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/25_algorithms/copy.cc: Move to...
+       * testsuite/25_algorithms/copy/1.cc: ... here, extend.
+       * testsuite/25_algorithms/copy/2.cc: New.
+       * testsuite/25_algorithms/copy/3.cc: New.
+       * testsuite/25_algorithms/copy/4.cc: New.
+
+2004-06-29  Paul Brook  <paul@codesourcery.com>
+
+       * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
+       element size in the cookie.
+
+2004-06-28  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/cpp_type_traits.h: Move the additions to
+       namespace __gnu_internal outside of namespace std; trivial
+       formatting fixes.
+
+2004-06-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
+       Revert -Weffc++ changes that defined copy ctory and or assignment
+       operator.
+       * libsupc++/tinfo.cc (__upcast_result): Same.
+       
+2004-06-28  Paolo Carlini  <pcarlini@suse.de>
+
+       * src/localename.cc (locale::_Impl::_Impl): Slightly improve
+       the algorithm used to name the categories.
+
+2004-06-28  Paolo Bonzini  <bonzini@gnu.org>
+
+       * include/Makefile.am: Give a .gch extension to
+       the PCH files, not only to the directory.
+       * include/Makefile.in: Regenerate.
+
+2004-06-28  Paolo Carlini  <pcarlini@suse.de>
+
+       * config/locale/gnu/monetary_members.cc
+       (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
+       assignments of _M_decimal_point and _M_thousands_sep.
+
+2004-06-27  Paolo Carlini  <pcarlini@suse.de>
+
+       * docs/html/17_intro/contribute.html: Update some links.
+       * docs/html/17_intro/porting-howto.html: Likewise.
+       * docs/html/17_intro/porting-howto.xml: Likewise.
+       * docs/html/18_support/howto.html: Likewise.
+       * docs/html/21_strings/howto.html: Likewise.
+       * docs/html/27_io/howto.html: Likewise.
+       * docs/html/configopts.html: Likewise.
+       * docs/html/ext/howto.html: Likewise.
+       * docs/html/faq/index.html: Likewise.
+       * docs/html/install.html: Don't mention 2.x compilers.
+
+2004-06-27  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/ext/rope: Trivial formatting fixes.
+       * include/ext/ropeimpl.h: Likewise.
+
+2004-06-26  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/16210
+       * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
+       availability of strto(u)ll, not used anymore in the iostreams.
+       * configure: Regenerate.
+
+2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/16182      
+       * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
+       AC_DEFINE_UNQUOTED.
+       * configure: Regenerate.
+
+2004-06-25  Paul Brook  <paul@codesourcery.com>
+
+       * libsupc++/cxxabi.h: Define __ARM_EABI__
+       (__guard): Use it.
+       * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
+
+2004-06-25  Paul Brook  <paul@codesourcery.com>
+
+       * include/bits/concurrence.h: Still create mutex object when
+       single-threaded.
+
 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/stl_algobase.h (fill, fill_n): Revert last