Fix warnings when bootstrapping on darwin with vtable verification enabled.
[gcc.git] / libstdc++-v3 / ChangeLog
index 0d3eb25389e1f4c9e89d175c7b52c0cbaa5e29e2..f92a67d1fd3be71b27e873cf7d89af313f179d39 100644 (file)
@@ -1,3 +1,150 @@
+2015-08-12  Caroline Tice <cmtice@google.com>
+
+       PR 66521, Contributed by Eric Gallager
+       * acinclude.m4 (VTV_CXXLINKFLAGS): Make this variable OS-specific, and
+       fix the rpath flag to work properly for darwin.
+       * configure: Regenerated.
+
+2015-08-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       * doc/xml/manual/appendix_contributing.xml: Update patch email policy.
+       * doc/xml/manual/status_cxx2017.xml: Update status table.
+       * doc/html/manual/*: Regenerate.
+
+2015-08-09  Ville Voutilainen  <ville.voutilainen@gmail.com>
+
+       Implement N4279, Improved insertion interface for unique-key maps.
+       * include/bits/stl_map.h (try_emplace, insert_or_assign): New.
+       * include/bits/stl_tree.h (_M_get_insert_unique_pos,
+       _M_get_insert_equal_pos, _M_get_insert_hint_unique_pos,
+       _M_get_insert_hint_equal_pos): Make public.
+       * include/bits/unordered_map.h (try_emplace, insert_or_assign): New.
+       * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
+       Likewise.
+       * testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
+       * testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
+       Likewise.
+       * testsuite/23_containers/unordered_map/modifiers/try_emplace.cc:
+       Likewise.
+
+2015-08-08  Ville Voutilainen  <ville.voutilainen@gmail.com>
+
+       Implement N4089 Safe conversions in unique_ptr<T[]> (LWG 2118)
+       and N4366 LWG 2228: Missing SFINAE rule in unique_ptr
+       templated assignment
+       * include/bits/unique_ptr.h
+       (__remove_cv, __is_derived_Tp): Remove.
+       (default_delete::default_delete(const default_delete<_Up[]>)):
+       Constrain with array convertibility.
+       (default_delete::operator(_Up*)): Turn into a template,
+       constrain with array convertibility.
+       (__safe_conversion_up): New, single object version.
+       (unique_ptr(unique_ptr<_Up, _Ep>&&)): Constrain with deleter
+       convertibility.
+       (unique_ptr::operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
+       is_assignable as a constraint.
+       (__safe_conversion_up): Array version, renamed from __safe_conversion,
+       updated to implement N4089.
+       (__safe_conversion_raw): New.
+       (unique_ptr(_Up)): Turn into a template, constrain with array
+       convertibility.
+       (unique_ptr(_Up,
+       typename conditional<is_reference<deleter_type>::value,
+       deleter_type, const deleter_type&>::type)): Likewise.
+       (unique_ptr(_Up, typename
+       remove_reference<deleter_type>::type&&)): Likewise.
+       (unique_ptr(unique_ptr<_Up, _Ep>&&)): Likewise.
+       (operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
+       is_assignable as a constraint (array version).
+       (reset(_Up)): Turn into a template, constrain with array
+       convertibility.
+       (reset(nullptr_t)): New.
+       * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
+       * testsuite/20_util/unique_ptr/assign/48635.cc: Likewise.
+       * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
+       * testsuite/20_util/unique_ptr/assign/cv_qual.cc: Likewise.
+       * testsuite/20_util/unique_ptr/cons/cv_qual.cc: Likewise.
+       * testsuite/20_util/unique_ptr/dr2228.cc: New.
+       * testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: Adjust.
+
+2015-08-05  Nikolai Bozhenov  <n.bozhenov@samsung.com>
+
+       * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Remove
+       redundant -save-temps option.
+       * testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise.
+       * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
+       * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
+       * testsuite/30_threads/future/cons/constexpr.cc: Likewise.
+       * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
+
+2015-08-03  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/67078
+       * include/bits/range_access.h (size, empty, data): Fix _N bad name.
+
+2015-07-30  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/experimental/filesystem/operations/current_path.cc: Use
+       canonical paths for comparisons.
+
+2015-07-30  Tim Shen  <timshen@google.com>
+
+       * include/bits/regex_automaton.h (_State_base, _State<>):
+       Remove _TraitsT dependency from _State<>; Make matcher member
+       into the union to reduce struct size.
+       * include/bits/regex_automaton.tcc (_State_base<>::_M_print,
+       _State_base<>::_M_dot, _StateSeq<>::_M_clone):
+       Adjust to fit the interface. Factor out common parts in
+       _M_clone as _State<>::_M_has_alt.
+       * include/bits/regex_executor.h (_Executer<>::_M_lookahead):
+       Only pass state id instead of the whole state.
+       * include/bits/regex_executor.tcc (_Executer<>::_M_dfs,
+       _Executer<>::_M_lookahead): Adjust to fit the interface.
+       * include/std/regex: Include <ext/aligned_buffer.h>
+
+2015-07-30  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/experimental/any (any::operator=(const any&)): Check for
+       self-assignment.
+       * testsuite/experimental/any/assign/self.cc: New.
+       * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
+
+2015-07-29  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/66829
+       * testsuite/lib/libstdc++.exp (v3-build_support): Compile
+       testsuite_shared.cc with -std=gnu++98.
+
+2015-07-29  Ville Voutilainen  <ville.voutilainen@gmail.com>
+
+       * include/bits/range_access.h: Change class to typename in every
+       template.
+       (size, empty, data): New functions from N4280.
+       * testsuite/24_iterators/container_access.cc: New.
+
+       PR libstdc++/60970
+       * include/bits/functional_hash.h (__hash_enum): New.
+       (hash): Derive from __hash_enum.
+       * testsuite/20_util/hash/60970.cc: New.
+
+2015-07-29  Tim Shen  <timshen@google.com>
+
+       PR libstdc++/67015
+       * include/bits/regex_compiler.h (_Compiler<>::_M_expression_term,
+       _BracketMatcher<>::_M_add_collating_element): Change signature
+       to make checking the and of bracket expression easier.
+       * include/bits/regex_compiler.tcc (_Compiler<>::_M_expression_term):
+       Treat '-' as a valid literal if it's at the end of bracket expression.
+       * testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
+       New testcases.
+
+2015-07-24  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/atomic_futex.h [_GLIBCXX_HAVE_LINUX_FUTEX]
+       (_M_load_and_test_until): Whitespace.
+       (_M_load_and_test): Value-initialize the unused durations.
+       (_M_load_when_equal): Add missing return value.
+
 2015-07-24  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
 
        * fragment.am (AM_CPPFLAGS): Add CPPFLAGS.