OSDN Git Service

2014-04-04 Richard Biener <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 0f553d9..f5273be 100644 (file)
-2012-10-05 Pavel Chupin <pavel.v.chupin@intel.com>
-               Fix missing gthr-default.h issue on separate libstdc++ configure
-               * acinclude.m4: Define glibcxx_thread_h.
-               * include/Makefile.am: Use glibcxx_thread_h.
-               * Makefile.in: Regenerate.
-               * configure: Regenerate.
-               * doc/Makefile.in: Regenerate.
-               * include/Makefile.in: Regenerate.
-               * libsupc++/Makefile.in: Regenerate.
-               * po/Makefile.in: Regenerate.
-               * python/Makefile.in: Regenerate.
-               * src/Makefile.in: Regenerate.
-               * src/c++11/Makefile.in: Regenerate.
-               * src/c++98/Makefile.in: Regenerate.
-               * testsuite/Makefile.in: Regenerate.
+2014-04-01  Jason Merrill  <jason@redhat.com>
+
+       Core DR 475
+       PR c++/41174
+       PR c++/59224
+       * libsupc++/eh_throw.cc (__cxa_throw): Set uncaughtExceptions.
+       * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception)
+       (__cxa_allocate_exception): Don't set it here.
+
+2014-03-25  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/60658
+       * include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
+       Use sizeof pointer type not the element type.
+       * testsuite/29_atomics/atomic/60658.cc: New.
+
+2013-11-05 Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/manual/status_cxx2011.xml: Document aligned_union as
+       missing.
+       * doc/xml/manual/spine.xml: Update copyright years.
+       * doc/html/*: Regenerate.
+
+2013-10-30  Chris Studholme  <cvs@cs.utoronto.ca>
+
+       PR libstdc++/58912
+       * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Remove
+       unnecessary initialization of storage buffer.
+
+2013-10-20  Chris Jefferson  <chris@bubblescope.net>
+           Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/58800
+       * include/bits/stl_algo.h (__unguarded_partition_pivot): Change
+       __last - 2 to __last - 1.
+       * testsuite/25_algorithms/nth_element/58800.cc: New
+
+2013-09-30  Chris Jefferson  <chris@bubblescope.net>
+
+       PR libstdc++/58437
+       * include/bits/stl_algo.h (__move_median_first): Rename to
+       __move_median_to_first, change to take an addition argument.
+       (__unguarded_partition_pivot): Adjust.
+       * testsuite/performance/25_algorithms/sort.cc: New.
+       * testsuite/performance/25_algorithms/sort_heap.cc: Likewise.
+       * testsuite/performance/25_algorithms/stable_sort.cc: Likewise.
+
+2013-09-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       Backport from mainline
+
+       2013-01-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/55861
+       * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
+       Fix return type.
+
+2013-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/58302
+       * include/bits/random.tcc (negative_binomial_distribution<>::
+       operator()(_UniformRandomNumberGenerator&, const param_type&):
+       Fix typo in template argument.
+       * testsuite/26_numerics/random/negative_binomial_distribution/
+       operators/58302.cc: New.
+
+2013-08-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       * src/c++98/compatibility.cc (_ZTIe): Use
+       reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
+       (_ZTIPe): Ditto.
+       (ZTIPKe): Ditto.
+
+2013-05-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/basic_string.h (getline): Fix doxygen comments.
+
+2013-05-14  Evgeniy Stepanov  <eugenis@google.com>
+
+       * src/c++11/system_error.cc (generic_category_instance): Add
+       initializer.
+       (system_category_instance): Likewise.
+       * src/c++11/future.cc (__fec): Likewise.
+
+2013-04-15  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+       Backport from mainline
+
+       2012-10-10  Jack Howarth  <howarth@bromo.med.uc.edu>
+                   Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/54847
+       * config/os/bsd/darwin/os_defines.h: Define _GLIBCXX_USE_NANOSLEEP
+       and _GLIBCXX_USE_SCHED_YIELD.
+       * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add comment.
+
+2013-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/30_threads/condition_variable/members/53841.cc: Add
+       -std=gnu++0x -pthread on alpha*-*-osf*, mips-sgi-irix6*.
+
+2013-04-11  Release Manager
+
+       * GCC 4.7.3 released.
+
+2013-03-30  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.q
+
+       * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
+       Coding Standards.
+
+       * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
+
+       * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
+
+       * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
+
+       * doc/xml/manual/messages.xml: Adjust link to Java API specs.
+
+       * doc/xml/manual/policy_data_structures: Remove direct link to
+       IBM Haifa Research Labs.
+
+       * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
+       for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
+
+       * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
+       papers.
+
+       * doc/xml/manual/shared_ptr.xml: Use canonical address for
+       www.boost.org.
+
+2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/56468
+       * libsupc++/exception_ptr.h (type_info): Declare.
+
+2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/56002
+       * include/std/mutex (lock_guard, unique_lock, lock): Define without
+       depending on _GLIBCXX_HAS_GTHREADS.
+       * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
+
+2013-03-09  François Dumont  <fdumont@gcc.gnu.org>
+
+       * include/bits/vector.tcc (vector<>operator=(const vector<>&):
+       Reset pointers after deallocation when memory can be reused.
+       * testsuite/23_containers/vector/allocator/minimal.cc: Insert
+       elements to really challenge C++11 allocator integration.
+       * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
+       * testsuite/23_containers/vector/allocator/copy_assign.cc:
+       Likewise.
+       * testsuite/23_containers/vector/allocator/move_assign.cc:
+       Likewise.
+       * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
+       swap vector back before checks on memory/personality mapping are
+       performed.
+
+2013-02-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/56012
+       * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
+       * testsuite/29_atomics/atomic/operators/56012.cc: New.
+
+       PR libstdc++/56011
+       * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
+       missing overload.
+       * testsuite/29_atomics/atomic/operators/56011.cc: New.
+
+2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/streambuf (basic_streambuf): Fix unclosed Doxygen group.
+
+2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/55043
+       * include/bits/alloc_traits.h (allocator_traits::construct): Disable
+       unless construction would be well-formed.
+       (__allow_copy_cons, __check_copy_constructible): Define.
+       * include/bits/unordered_map.h (__check_copy_constructible): Use as
+       base class so copy constructor will be deleted if appropriate.
+       * include/bits/unordered_set.h: Likewise.
+       * include/std/unordered_set: Include alloc_traits.h.
+       * include/std/unordered_set: Likewise.
+       * include/debug/unordered_map.h: Default copy and move constructors.
+       * include/debug/unordered_set.h: Likewise.
+       * testsuite/23_containers/unordered_map/55043.cc: Fix test.
+       * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
+       * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
+       * testsuite/23_containers/unordered_set/55043.cc: Likewise.
+       * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
+       cannot support incomplete types.
+       * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
+       Likewise.
+       * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
+       dg-error line number.
+
+2013-02-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/functional (mem_fn): Qualify to prevent ADL.
+       * testsuite/20_util/function_objects/mem_fn/adl.cc: New.
+
+2013-02-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/hashtable.h: Improve comments.
+       * include/bits/hashtable_policy.h: Likewise.
+
+2013-01-24  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/56085
+       * include/std/complex (pow(const complex<>&, int)): Avoid __n
+       signed overflow.
+
+2013-01-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/52887
+       * src/c++11/regex.cc: Add instantiations for AIX.
+
+2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
+
+2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/manual/abi.xml: Update library and symbol versions.
+
+2012-12-18  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
+
+       Backport from mainline
+       2012-10-15  Matthias Klose  <doko@ubuntu.com>
+
+       * configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
+       * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
+       * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
+
+2012-12-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/manual/abi.xml: Update URLs for C++ ABI.
+       * doc/xml/manual/policy_data_structures_biblio.xml: Add xmlns
+       * doc/xml/manual/policy_data_structures.xml: Set filename for chunk.
+       * doc/xml/manual/spine.xml: Update copyright years.
+       * doc/html/*: Regenerate.
+
+2012-12-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * src/c++11/thread.cc: Update copyright years.
+
+2012-12-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * src/c++11/thread.cc (execute_native_thread_routine): Do not swallow
+       __forced_unwind exceptions.
+       * testsuite/30_threads/thread/native_handle/cancel.cc: New.
+
+2012-12-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/55631
+       * include/ext/alloc_traits.h: Include missing header.
+       * include/ext/pointer.h: Likewise.
+       * include/ext/string_conversions.h: Require C++11.
+       * libsupc++/initializer_list: Reindent.
+
+2012-12-12  Benjamin Kosnik  <bkoz@redhat.com>
+
+        * doc/xml/manual/documentation_hacking.xml: Fix validation issue.
+
+2012-12-10  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * doc/Makefile.am (xml_sources_manual): Add
+       policy_data_structures_biblio.xml.
+       (${docbook_outdir}/latex): Add.
+       (doc-xml-validate-docbook): Split into..
+       (doc-xml-validate-dtd-db):... this for DTD.
+       (doc-xml-validate-rng-db):... this for Relax NG.
+       (doc-pdf-docbook-dirs): Add.
+       (doc-pdf-docbook-pre): Add.
+       * doc/xml/manual/build_hacking.xml: Add literal markup.
+       * doc/xml/manual/documentation_hacking.xml: Clean whitespace in
+       <filename> markup. Add notes about debugging the generation process.
+       * doc/xml/manual/policy_data_structures.xml: Split biblio into...
+       * doc/xml/manual/policy_data_structures_biblio.xml: ... this. New.
+       * doc/xml/manual/test_policy_data_structures.xml: Fixup <filename>
+       markup.
+
+2012-12-10  Matthias Klose  <doko@ubuntu.com>
+
+       * src/Makefile.am (libstdc++-symbols.ver): Use CONFIG_HEADER.
+       * src/Makefile.in: Regenerate.
+
+2012-12-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR libstdc++/55503
+       * testsuite/30_threads/condition_variable/members/53841.cc: Add
+       hppa*-hp-hpux11* to -pthread dg-options.
+
+2012-11-20  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/55413
+       * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Initialize
+       __bbegin_bkt and __prev_bkt to avoid uninitialized warnings.
+       * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
+       dg-error line number.
+
+2012-11-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/53841
+       * include/std/condition_variable (condition_variable::wait_until):
+       Handle clocks with higher resolution than __clock_t.
+       * testsuite/30_threads/condition_variable/members/53841.cc: New.
+
+2012-11-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/55320
+       * include/std/functional (function::function(F)): Set _M_manager after
+       operations that could throw.
+       (_Function_base::_Ref_manager::_M_init_functor): Use addressof.
+       * include/tr1/functional
+       (_Function_base::_Ref_manager::_M_init_functor): Use addressof.
+       (_Function_base::_Base_manager::_M_get_pointer): Likewise.
+       * testsuite/20_util/function/cons/55320.cc: New.
+       * testsuite/20_util/function/cons/addressof.cc: New.
+       * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
+       * testsuite/tr1/3_function_objects/function/10.cc: New.
+
+2012-11-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/future (atomic_future): Remove declaration of
+       non-standard name.
+
+2012-11-08  François Dumont  <fdumont@gcc.gnu.org>
+
+       PR libstdc++/54075
+       * include/bits/hashtable.h (_Hashtable<>::rehash): Reset hash
+       policy state if no rehash.
+       * testsuite/23_containers/unordered_set/modifiers/reserve.cc
+       (test02): New.
+
+2012-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/profile/iterator_tracker.h (operator++): Fix returning
+       dangling reference.
+       (operator--): Likewise.
+
+2012-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * testsuite/20_util/shared_ptr/cons/55123.cc: Remove duplicate
+       include.
+
+2012-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * testsuite/*: Fix copying permission statements.
+
+2012-11-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+        PR libstdc++/28811
+        PR libstdc++/54482
+        * configure.ac (glibcxx_lt_pic_flag,
+          glibcxx_compiler_pic_flag,
+          glibcxx_compiler_shared_flag): New. Use them.
+        (lt_prog_compiler_pic_CXX): Set via glibcxx_*_flag(s) above.
+        (pic_mode): Set to default.
+        (PIC_CXXFLAGS): Remove.
+        * Makefile.am (PICFLAG, PICFLAG_FOR_TARGET): Remove. Comment.
+        * libsupc++/Makefile.am: Use glibcxx_ld_pic_flag and
+          glibcxx_compiler_shared_flag. Comment.
+        * src/c++11/Makefile.am: Same.
+        * src/c++98/Makefile.am: Same.
+        * src/Makefile.am: Use glibcxx_compiler_pic_flag.
+
+        * Makefile.in: Regenerated.
+        * aclocal.m4: Same.
+        * configure: Same.
+        * doc/Makefile.in: Same.
+        * include/Makefile.in: Same.
+        * libsupc++/Makefile.in: Same.
+        * po/Makefile.in: Same.
+        * python/Makefile.in: Same.
+        * src/Makefile.in: Same.
+        * src/c++11/Makefile.in: Same.
+        * src/c++98/Makefile.in: Same.
+        * testsuite/Makefile.in: Same.
+
+        * src/c++11/compatibility-atomic-c++0x.cc: Use
+          _GLIBCXX_SHARED instead of PIC to designate shared-only
+          code blocks.
+        * src/c++11/compatibility-c++0x.cc: Same.
+        * src/c++11/compatibility-thread-c++0x.cc: Same.
+        * src/c++98/compatibility-list-2.cc: Same.
+        * src/c++98/compatibility.cc: : Same.
+
+        * testsuite/17_intro/shared_with_static_deps.cc: New.
+
+        * doc/xml/manual/build_hacking.xml: Separate configure from
+        make/build issues, add build details.
+
+2012-11-05  Benjamin Kosnik  <bkoz@redhat.com>
+            Oleg Smolsky  <oleg@smolsky.net>
+
+       PR libstdc++/55028
+       *  config/abi/pre/gnu-versioned-namespace.ver: Add symbols.
+       * testsuite/23_containers/unordered_multimap/insert/55028-debug.cc: New.
+
+2012-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/55215
+       * include/bits/random.tcc (mersenne_twister_engine<>::seed(_Sseq&)):
+       Assign state_size to _M_p.
+       * testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc:
+       New.
+       * testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc:
+       Likewise.
+       * testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc:
+       Likewise.
+       * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
+       55215.cc: Likewise.
+       * testsuite/26_numerics/random/discard_block_engine/cons/55215.cc:
+       Likewise.
+       * testsuite/26_numerics/random/linear_congruential_engine/cons/
+       55215.cc: Likewise.
+
+2012-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/55169
+       * include/bits/random.h: Remove all uses of param().
+
+2012-11-01   Haakan Younes  <hyounes@google.com>
+            Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/55047
+       * include/bits/random.h (exponential_distribution<>::operator):
+       Fix formula to std::log(result_type(1) - __aurng()).
+       * include/bits/random.tcc: Likewise, everywhere.
+
+2012-10-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/55123
+       * include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
+       Do not instantiate allocator with element_type.
+       * testsuite/20_util/shared_ptr/cons/55123.cc: New.
+
+2012-10-10  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR libstdc++/54861
+       * include/bits/atomic_base.h (atomic_signal_fence): Call
+       __atomic_signal_fence instead of __atomic_thread_fence.
 
 2012-09-20  Benjamin Kosnik  <bkoz@redhat.com>