OSDN Git Service

* include/tr1_impl/regex (basic_regex::basic_regex): Use range
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 71f47b8..e56bd23 100644 (file)
@@ -1,3 +1,135 @@
+2009-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/tr1_impl/regex (basic_regex::basic_regex): Use range
+       constructor for _M_pattern.
+       * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
+       string.cc: Test construction from different basic_string type.
+       * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
+       string.cc: Likewise.
+
+2009-01-07  Benjamin Kosnik  <bkoz@redhat.com>
+           Jonathan Larmour  <jifl@eCosCentric.com>
+
+       PR libstdc++/36801
+       * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
+       New.
+       (__gnu_cxx::__exchange_and_add): Use it.
+       * src/atomic.cc (get_atomic_mutex): New.
+       * src/debug.cc (get_safe_base_mutex): New.
+       * src/locale.cc (get_locale_cache_mutex): New.
+       * src/mt_allocator.cc (get_freelist): New.
+       (get_freelist_mutex): New.
+       * src/pool_allocator.cc (get_palloc_mutex): New.
+       * include/std/mutex (__once_functor_lock): To
+       (__get_once_functor_lock): ...this.
+       * src/mutex.cc (__once_mutex): Don't export, use
+       (get_once_mutex): ...this.
+       * config/abi/pre/gnu.ver: Adjust exports.
+
+2009-01-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libstdc++/38732
+       * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
+       referenceCount field again.
+       (__cxxabiv1::__cxa_refcounted_exception): New struct.
+       (__cxxabiv1::__get_refcounted_exception_header_from_obj,
+       __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
+       inline functions.
+       * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
+       __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
+       instead of __cxa_exception.
+       * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
+       __cxxabiv1::__cxa_throw): Likewise.
+       * libsupc++/eh_ptr.cc (std::rethrow_exception,
+       std::__exception_ptr::exception_ptr::_M_addref,
+       std::__exception_ptr::exception_ptr::_M_release,
+       __gxx_dependent_exception_cleanup): Likewise.
+       * testsuite/18_support/exception/38732.cc: New test.
+
+       PR libstdc++/38092
+       * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
+       * src/compatibility.cc: Don't use .symver directives if
+       _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
+       * config.h.in: Regenerated.
+       * configure: Likewise.
+
+2009-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/38466
+       * include/bits/stl_pair.h: Document C++03 pair vs swap.
+
+2009-01-06  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/locale_init.cc (locale::_S_initialize_once): Move construction
+       of classic locale...
+       (locale::classic): Here.
+
+2009-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/tr1_impl/regex: Fix bad return statements and typos.
+
+2009-01-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/tr1_impl/regex: Remove unimplemented function definitions.
+       * testsuite/28_regex/init-list.cc: Compile only.
+       * testsuite/tr1/7_regular_expressions/regex/cons/char/
+       c_string_extended.cc: Same.
+       * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
+       * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
+
+2009-01-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/38384
+       * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
+       * configure: Regenerate.
+
+2009-01-05  Ben Elliston  <bje@au.ibm.com>
+
+       * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
+       * configure: Regenerate.
+
+2009-01-05  Ben Elliston  <bje@au.ibm.com>
+
+       * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
+       GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
+       * configure: Regenerate.
+
+2009-01-04  Richard Guenther  <rguenther@suse.de>
+
+       PR libstdc++/38720
+       * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
+       integer type for storage, arithmetic and comparisons.
+       * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
+
+2009-01-04  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/38719
+       * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
+       _Fwd_list_const_iterator::_M_next): Fix return type.
+
+2009-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * Revert last commit, reopen and suspend libstdc++/38678.
+
+2009-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/38678
+       * include/std/istream (basic_istream<>::_M_read): New.
+       * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
+       (basic_istream<>::read, basic_istream<>::readsome): Use it.
+       * include/std/ostream (basic_ostream<>::_M_write_): New.
+       (basic_ostream<>::_M_write): Adjust.
+       * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
+       * testsuite/27_io/basic_istream/read/char/38678.cc: New.
+       * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
+       * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
+       * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
+
+2008-12-22  Jonathan Larmour  <jifl@eCosCentric.com>
+
+       * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
+       function macro name.
+
 2008-12-22  Benjamin Kosnik  <bkoz@redhat.com>
 
        * doc/doxygen/stdheader.cc: Add cstdlib.
 
 2008-12-17  Jack Howarth  <howarth@bromo.med.uc.edu>
 
-        * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
+       * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
        Don't xfail test on darwin8 or later.
 
 2008-12-16  Jack Howarth  <howarth@bromo.med.uc.edu>
 
-        * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
+       * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
        Don't xfail excessive errors on darwin8 or later.
 
 2008-12-15  Benjamin Kosnik  <bkoz@redhat.com>