summaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog243
1 files changed, 242 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ddc30f80aba..b8c222ba807 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,244 @@
+2011-11-07 Andrew MacLeod <amacleod@redhat.com>
+
+ * include/bits/atomic_base.h (atomic_thread_fence): Revert.
+ (atomic_signal_fence): Revert.
+
+2011-11-07 Andrew MacLeod <amacleod@redhat.com>
+
+ * include/bits/atomic_base.h (atomic_thread_fence): Call builtin.
+ (atomic_signal_fence): Call builtin.
+ (atomic_flag::test_and_set): Call __atomic_exchange when it is lockfree,
+ otherwise fall back to call __sync_lock_test_and_set.
+ (atomic_flag::clear): Call __atomic_store when it is lockfree,
+ otherwise fall back to call __sync_lock_release.
+
+2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR bootstrap/50982
+ * include/Makefile.am (${host_builddir}/gthr-posix.h): Reflect
+ gthr-posix.h move.
+ * include/Makefile.in: Regenerate.
+
+2011-11-07 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define.
+ (GLIBCXX_CHECK_PTHREADS_NUM_PROCESSORS_NP): Define.
+ (GLIBCXX_CHECK_SYSCTL_HW_NCPU): Define.
+ * configure.ac: Use new checks.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * src/thread.cc: Check new config macros.
+ * testsuite/lib/libstdc++.exp: Likewise.
+
+2011-11-07 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * config/abi/pre/gnu.ver: Fix exports for string::pop_back.
+
+2011-11-07 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * acinclude.m4: Check for <stdalign.h>
+ * configure: Regenerate.
+ * config.h.in: Likewise.
+ * include/Makefile.am: Add <cstdalign>.
+ * include/Makefile.in: Regenerate.
+ * include/c_global/cstdalign: New.
+ * testsuite/18_support/headers/cstdalign/std_c++0x_neg.cc: New.
+ * doc/xml/manual/backwards_compatibility.xml: Update.
+ * doc/xml/manual/status_cxx2011.xml: Update.
+
+2011-11-07 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ PR libstdc++/50982
+ * include/std/mutex (__once_proxy): Use void parameter list to
+ work on implicit extern "C" systems.
+
+2011-11-07 Xinliang David Li <davidxl@google.com>
+
+ * include/backward/hashtable.h: Make __stl_prime_list
+ in comdat section.
+
+2011-11-07 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * include/bits/basic_string.h (basic_string::at): Move adjacent to other
+ overload.
+ (basic_string::pop_back): Define.
+ * include/debug/string (__gnu_debug::basic_string::pop_back): Likewise.
+ * include/ext/vstring.h (__versa_string::pop_back): Likewise.
+ * config/abi/pre/gnu.ver: Add new symbols.
+ * testsuite/21_strings/basic_string/modifiers/char/pop_back.cc: New.
+ * testsuite/21_strings/basic_string/modifiers/wchar_t/pop_back.cc: New.
+ * testsuite/21_strings/basic_string/range_access.cc: Split to ...
+ * testsuite/21_strings/basic_string/range_access/char/1.cc: Here and ...
+ * testsuite/21_strings/basic_string/range_access/wchar_t/1.cc: Here.
+ * testsuite/ext/vstring/modifiers/char/pop_back.cc: New.
+ * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: New.
+
+2011-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * doc/xml/manual/backwards_compatibility.xml: Fix autoconf tests for
+ C++11 compiler features and library headers. Add stable id
+ attributes. Use <filename> element for headers and surround in angle
+ brackets. Use <classname> for classes.
+ * doc/html/*: Regenerate.
+
+2011-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * doc/xml/manual/status_cxx2011.xml: Document <cuchar> and
+ <cstdalign> as missing.
+
+2011-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * doc/xml/faq.xml: Replace references to C++0x with C++11.
+ * doc/xml/manual/intro.xml: Likewise.
+ * doc/xml/manual/backwards_compatibility.xml: Likewise.
+ * doc/xml/manual/shared_ptr.xml: Likewise.
+ * doc/xml/manual/configure.xml: Likewise.
+ * doc/xml/manual/evolution.xml: Likewise.
+ * doc/xml/manual/using.xml: Likewise.
+ * doc/xml/manual/strings.xml: Likewise.
+ * doc/xml/manual/debug_mode.xml: Likewise.
+ * doc/xml/manual/policy_data_structures.xml: Likewise.
+ * doc/xml/manual/extensions.xml: Likewise.
+ * doc/xml/manual/diagnostics.xml: Likewise.
+ * doc/xml/manual/test.xml: Likewise.
+ * doc/xml/manual/status_cxx200x.xml: Likewise, and rename to...
+ * doc/xml/manual/status_cxx2011.xml: Here.
+ * doc/Makefile.am: Rename status_cxx200x.xml.
+ * doc/Makefile.in: Regenerate.
+ * doc/html/*: Regenerate.
+
+2011-11-06 François Dumont <fdumont@gcc.gnu.org>
+
+ * testsuite/performance/23_containers/insert_erase/41975.cc: Add
+ tests to check performance with or without cache of hash code and with
+ string type that has a costlier hash functor than int type.
+
+2011-11-06 Benjamin Kosnik <bkoz@redhat.com>
+ Andrew MacLeod <amacleod@redhat.com>
+
+ Merged from cxx-mem-model.
+
+ * include/Makefile.am (bits_headers): Remove atomic_0.h, atomic_2.h.
+ * include/Makefile.in: Regenerate.
+ * src/Makefile.am (sources): Rename atomic.cc to
+ compatibility-atomic-c++0x.cc.
+ * src/Makefile.in: Regenerate.
+ * include/bits/atomic_0.h: Remove.
+ * include/bits/atomic_2.h: Incorporate into...
+ * include/bits/atomic_base.h: ...this. Use new __atomic routines.
+ * include/std/atomic: Add generic atomic calls to basic atomic class.
+ * src/atomic.cc: Move...
+ * src/compatibility-atomic-c++0x.cc: ...here.
+ * src/compatibility-c++0x.cc: Tweak.
+ * testsuite/29_atomics/atomic/cons/user_pod.cc: Fix.
+ * testsuite/29_atomics/atomic/requirements/explicit_instantiation/1.cc:
+ Same.
+ * testsuite/29_atomics/headers/atomic/macros.cc: Same.
+
+2011-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * doc/xml/manual/test.xml: Fix dg-warning examples.
+
+2011-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ PR libstdc++/44436
+ * doc/xml/manual/status_cxx200x.xml: Document emplace members are
+ missing.
+
+2011-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ PR libstdc++/49894
+ PR bootstrap/50982
+ * include/std/mutex (once_flag): Use NSDMI.
+
+2011-11-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ * scripts/run_doxygen: Fix sed quoting.
+
+2011-11-03 Benjamin Kosnik <bkoz@redhat.com>
+
+ * doc/doxygen/doxygroups.cc: Add markup for namespace tr2.
+ * include/tr2/bool_set: Adjust doxygen markup.
+ * include/tr2/dynamic_bitset: Same.
+ * include/tr2/type_traits: Same.
+
+2011-11-03 Benjamin Kosnik <bkoz@redhat.com>
+
+ * doc/html/*: Regenerate.
+
+2011-11-02 Richard B. Kreckel <kreckel@ginac.de>
+ Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR libstdc++/50880
+ * include/std/complex (__complex_acosh): Fix in a better way,
+ use Kahan's formula.
+ * include/tr1/complex (__complex_acosh): Likewise.
+
+2011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR libstdc++/50951
+ * include/bits/random.tcc (operator<<(basic_ostream<>&,
+ const mersenne_twister_engine<>&): Output _M_p too.
+ (operator<<(basic_ostream<>&, const
+ subtract_with_carry_engine<>&): Likewise.
+ (operator>>(basic_istream<>&, mersenne_twister_engine<>&):
+ Reload it.
+ (operator>>(basic_istream<>&, subtract_with_carry_engine<>&):
+ Likewise.
+ * include/bits/random.h (mersenne_twister_engine<>::operator==):
+ Compare _M_p too.
+ (subtract_with_carry_engine<>::operator==): Compare _M_carry
+ and _M_p too.
+ (shuffle_order_engine<>::operator==): Compare _M_v(s) and _M_y too.
+ * testsuite/26_numerics/random/independent_bits_engine/
+ operators/serialize.cc: Extend.
+ * testsuite/26_numerics/random/subtract_with_carry_engine/
+ operators/serialize.cc: Likewise.
+ * testsuite/26_numerics/random/discard_block_engine/
+ operators/serialize.cc: Likewise.
+ * testsuite/26_numerics/random/mersenne_twister_engine/
+ operators/serialize.cc: Likewise.
+ * testsuite/26_numerics/random/linear_congruential_engine/
+ operators/serialize.cc: Likewise.
+ * testsuite/26_numerics/random/shuffle_order_engine/
+ operators/serialize.cc: Likewise.
+
+2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * acinclude.m4 (GLIBCXX_CONFIGURE): Determine and substitute
+ toplevel_builddir.
+ (GLIBCXX_ENABLE_THREADS): Remove glibcxx_thread_h,
+ HAVE_GTHR_DEFAULT, enable_thread.
+ (GLIBCXX_CHECK_GTHREADS): Reflect gthr move to libgcc.
+ * include/Makefile.am (thread_host_headers): Remove
+ ${host_builddir}/gthr-tpf.h.
+ (${host_builddir}/gthr.h): Reflect gthr move to libgcc.
+ Use $<.
+ (${host_builddir}/gthr-single.h): Likewise.
+ (${host_builddir}/gthr-posix.h): Likewise.
+ (${host_builddir}/gthr-tpf.h): Remove.
+ (${host_builddir}/gthr-default.h): Likewise.
+ * configure, config.h.in: Regenerate.
+ * Makefile.in, doc/Makefile.in, include/Makefile.in,
+ libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
+ src/Makefile.intestsuite/Makefile.in: Regenerate.
+
+2011-11-02 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/c++config: Add tr2 to versioned namespaces.
+ * scripts/run_doxygen: Adjust generated man files as well.
+ * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
+
+2011-11-02 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * include/std/future (promise): Add constructors for uses-allocator
+ construction from rvalue promise.
+ (packaged_task): Implement LWG 2067. Add additional constructors for
+ uses-allocator construction.
+ * testsuite/30_threads/packaged_task/cons/3.cc: New.
+ * testsuite/30_threads/packaged_task/cons/alloc2.cc: New.
+ * testsuite/30_threads/promise/cons/alloc2.cc: New.
+
2011-10-31 Jason Merrill <jason@redhat.com>
* include/Makefile.am (install-freestanding-headers): Install
@@ -8,7 +249,7 @@
* acinclude.m4 (GLIBCXX_CONFIGURE): Refer to GNU/Linux.
* configure: Regenerate.
-
+
2011-10-31 Jason Merrill <jason@redhat.com>
PR c++/50920