2016-07-06 20:07:57 +02:00
|
|
|
|
2016-07-06 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Add a new header for diagnosing the use of C++17 facilities
|
|
|
|
|
in pre-C++17 modes.
|
|
|
|
|
* include/bits/c++17_warning.h: New.
|
|
|
|
|
|
2016-07-06 15:26:10 +02:00
|
|
|
|
2016-07-06 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Implement LWG 2451, optional<T> should 'forward' T's
|
|
|
|
|
implicit conversions.
|
|
|
|
|
* include/experimental/optional (__is_optional_impl, __is_optional):
|
|
|
|
|
New.
|
|
|
|
|
(optional()): Make constexpr and default.
|
|
|
|
|
(optional(_Up&&), optional(const optional<_Up>&),
|
|
|
|
|
optional(optional<_Up>&& __t): New.
|
|
|
|
|
(operator=(_Up&&)): Constrain.
|
|
|
|
|
(operator=(const optional<_Up>&), operator=(optional<_Up>&&)): New.
|
|
|
|
|
* testsuite/experimental/optional/cons/value.cc:
|
|
|
|
|
Add tests for the functionality added by LWG 2451.
|
|
|
|
|
* testsuite/experimental/optional/cons/value_neg.cc: New.
|
|
|
|
|
|
2016-07-05 20:33:18 +02:00
|
|
|
|
2016-07-05 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Implement LWG 2509,
|
|
|
|
|
any_cast doesn't work with rvalue reference targets and cannot
|
|
|
|
|
move with a value target.
|
|
|
|
|
* include/experimental/any (any(_ValueType&&)): Constrain and
|
|
|
|
|
add an overload that doesn't forward.
|
|
|
|
|
(any_cast(any&&)): Constrain and add an overload that moves.
|
|
|
|
|
* testsuite/experimental/any/misc/any_cast.cc: Add tests for
|
|
|
|
|
the functionality added by LWG 2509.
|
|
|
|
|
|
2016-07-04 16:52:54 +02:00
|
|
|
|
2016-07-04 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* testsuite/23_containers/vector/modifiers/emplace/self_emplace.cc:
|
|
|
|
|
New test.
|
|
|
|
|
* testsuite/23_containers/vector/modifiers/insert/self_insert.cc: New
|
|
|
|
|
test.
|
|
|
|
|
|
2016-07-04 16:52:46 +02:00
|
|
|
|
2016-07-04 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_vector.h (emplace(const_iterator, _Args&&...)):
|
|
|
|
|
Define inline. Forward to _M_emplace_aux.
|
|
|
|
|
(insert(const_iterator, value_type&&)): Forward to _M_insert_rval.
|
|
|
|
|
(_M_insert_rval, _M_emplace_aux): Declare new functions.
|
|
|
|
|
(_Temporary_value): New RAII type using allocator to construct/destroy.
|
|
|
|
|
(_S_insert_aux_assign): Remove.
|
|
|
|
|
(_M_insert_aux): Make non-variadic.
|
|
|
|
|
* include/bits/vector.tcc (insert(const_iterator, const value_type&)):
|
|
|
|
|
Use _Temporary_value.
|
|
|
|
|
(emplace(const_iterator, _Args&&...)): Remove definition.
|
|
|
|
|
(_M_insert_rval, _M_emplace_aux): Define.
|
|
|
|
|
(_M_insert_aux): Make non-variadic, stop using _S_insert_aux_assign.
|
|
|
|
|
(_M_fill_insert): Use _Temporary_value.
|
|
|
|
|
* testsuite/23_containers/vector/allocator/construction.cc: New test.
|
|
|
|
|
* testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc:
|
|
|
|
|
Adjust expected results for emplacing an lvalue with reallocation.
|
|
|
|
|
* testsuite/23_containers/vector/check_construct_destroy.cc: Adjust
|
|
|
|
|
expected results to account for construction/destruction of temporary
|
|
|
|
|
using allocator.
|
|
|
|
|
* testsuite/backward/hash_set/check_construct_destroy.cc: Likewise.
|
|
|
|
|
|
2016-07-04 14:52:49 +02:00
|
|
|
|
2016-07-04 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71313
|
|
|
|
|
* src/filesystem/ops.cc (remove_all(const path&, error_code&)):
|
|
|
|
|
Call remove_all for children of a directory.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/create_directories.cc:
|
|
|
|
|
Adjust.
|
|
|
|
|
|
2016-07-02 16:55:20 +02:00
|
|
|
|
2016-07-02 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust
|
|
|
|
|
dg-error line numbers.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/
|
|
|
|
|
tuple_element_debug_neg.cc: Likewise.
|
|
|
|
|
* testsuite/25_algorithms/lexicographical_compare/debug/
|
|
|
|
|
irreflexive_neg.cc: Remove.
|
|
|
|
|
|
2016-06-30 16:17:47 +02:00
|
|
|
|
2016-06-30 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/29_atomics/atomic/65913.cc: Require atomic-builtins rather
|
|
|
|
|
than specific target.
|
|
|
|
|
|
2016-06-27 22:41:59 +02:00
|
|
|
|
2016-06-27 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71640
|
|
|
|
|
* include/bits/hashtable.h: Remove _Unique_keya parameter in _Insert
|
|
|
|
|
friend declaration.
|
|
|
|
|
|
2016-06-23 22:21:47 +02:00
|
|
|
|
2016-06-23 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/debug/array (array<>::swap): Fix noexcept qualificaton for
|
|
|
|
|
zero-size array.
|
|
|
|
|
|
2016-06-21 23:57:49 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* configure.host: Remove mep-* support.
|
|
|
|
|
|
2016-06-21 23:57:30 +02:00
|
|
|
|
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.host: Remove support for knetbsd.
|
|
|
|
|
* crossconfig.m4: Likewise.
|
|
|
|
|
|
2016-06-20 22:04:25 +02:00
|
|
|
|
2016-06-20 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71181
|
|
|
|
|
* include/tr1/hashtable_policy.h
|
|
|
|
|
(_Prime_rehash_policy::_M_next_bkt): Make past-the-end iterator
|
|
|
|
|
dereferenceable to avoid check on lower_bound result.
|
|
|
|
|
(_Prime_rehash_policy::_M_bkt_for_elements): Call latter.
|
|
|
|
|
(_Prime_rehash_policy::_M_need_rehash): Likewise.
|
|
|
|
|
* src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
|
|
|
|
|
Always return a value greater than input value. Set _M_next_resize to
|
|
|
|
|
max value when reaching highest prime number.
|
|
|
|
|
* src/shared/hashtable-aux.cc (__prime_list): Add comment about sentinel
|
|
|
|
|
being now useless.
|
|
|
|
|
* testsuite/23_containers/unordered_set/hash_policy/71181.cc: New.
|
|
|
|
|
* testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc
|
|
|
|
|
(test02): New.
|
|
|
|
|
* testsuite/23_containers/unordered_set/hash_policy/prime_rehash.cc: New.
|
|
|
|
|
* testsuite/23_containers/unordered_set/hash_policy/rehash.cc:
|
|
|
|
|
Fix indentation.
|
|
|
|
|
|
2016-06-17 20:28:34 +02:00
|
|
|
|
2016-06-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71545
|
|
|
|
|
* include/bits/stl_algobase.h (lower_bound, lexicographical_compare):
|
|
|
|
|
Remove irreflexive checks.
|
|
|
|
|
* include/bits/stl_algo.h (lower_bound, upper_bound, equal_range,
|
|
|
|
|
binary_search): Likewise.
|
|
|
|
|
* testsuite/25_algorithms/equal_range/partitioned.cc: New test.
|
|
|
|
|
* testsuite/25_algorithms/lexicographical_compare/71545.cc: New test.
|
|
|
|
|
* testsuite/25_algorithms/lower_bound/partitioned.cc: New test.
|
|
|
|
|
* testsuite/25_algorithms/upper_bound/partitioned.cc: New test.
|
|
|
|
|
* testsuite/util/testsuite_iterators.h (__gnu_test::test_container):
|
|
|
|
|
Add constructor from array.
|
|
|
|
|
|
2016-06-16 22:34:08 +02:00
|
|
|
|
2016-06-16 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/debug/debug.h
|
|
|
|
|
(__glibcxx_requires_non_empty_range, __glibcxx_requires_nonempty)
|
|
|
|
|
(__glibcxx_requires_subscript): Move...
|
|
|
|
|
* include/debug/assertions.h: ...here and add __builtin_expect.
|
|
|
|
|
(_GLIBCXX_DEBUG_ONLY): Remove ; value.
|
|
|
|
|
* include/bits/stl_deque.h
|
|
|
|
|
(std::deque<>::operator[]): Add __glibcxx_requires_subscript check.
|
|
|
|
|
(std::deque<>::front()): Add __glibcxx_requires_nonempty check.
|
|
|
|
|
(std::deque<>::back()): Likewise.
|
|
|
|
|
(std::deque<>::pop_front()): Likewise.
|
|
|
|
|
(std::deque<>::pop_back()): Likewise.
|
|
|
|
|
(std::deque<>::swap(deque&)): Add allocator check.
|
|
|
|
|
* include/bits/stl_vector.h
|
|
|
|
|
(std::vector<>::operator[]): Add __glibcxx_requires_subscript check.
|
|
|
|
|
(std::vector<>::front()): Add __glibcxx_requires_nonempty check.
|
|
|
|
|
(std::vector<>::back()): Likewise.
|
|
|
|
|
(std::vector<>::pop_back()): Likewise.
|
|
|
|
|
(std::vector<>::swap(vector&)): Add allocator check.
|
|
|
|
|
|
2016-06-16 17:07:19 +02:00
|
|
|
|
2016-06-16 Daniel Kruegler <daniel.kruegler@gmail.com>
|
|
|
|
|
|
|
|
|
|
Provide swappable traits (p0185r1)
|
|
|
|
|
* include/std/type_traits (is_swappable, is_nothrow_swappable,
|
|
|
|
|
is_swappable_with, is_nothrow_swappable_with, is_swappable_v,
|
|
|
|
|
is_nothrow_swappable_v, is_swappable_with_v,
|
|
|
|
|
is_nothrow_swappable_with_v): New.
|
|
|
|
|
* include/bits/stl_pair.h: Use it as per p0185r1.
|
|
|
|
|
* include/bits/stl_queue.h: Likewise.
|
|
|
|
|
* include/bits/stl_stack.h: Likewise.
|
|
|
|
|
* include/bits/unique_ptr.h: Likewise.
|
|
|
|
|
* include/std/tuple: Likewise.
|
|
|
|
|
* include/std/array: Likewise. Fix zero-size member swap.
|
|
|
|
|
* include/bits/hashtable.h: Use __and_.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/requirements/
|
|
|
|
|
explicit_instantiation.cc: Change test options to std=gnu++17.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/value.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/is_swappable/requirements/
|
|
|
|
|
explicit_instantiation.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/is_swappable/requirements/typedefs.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/is_swappable/value.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/requirements/
|
|
|
|
|
explicit_instantiation_ext.cc: New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/requirements/typedefs_ext.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/value.h: New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/value_ext.cc: New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable_with/requirements/
|
|
|
|
|
explicit_instantiation.cc: New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable_with/requirements/typedefs.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable_with/value.cc: New.
|
|
|
|
|
* testsuite/20_util/is_swappable/requirements/
|
|
|
|
|
explicit_instantiation_ext.cc: New.
|
|
|
|
|
* testsuite/20_util/is_swappable/requirements/typedefs_ext.cc: New.
|
|
|
|
|
* testsuite/20_util/is_swappable/value.h: New.
|
|
|
|
|
* testsuite/20_util/is_swappable/value_ext.cc: New.
|
|
|
|
|
* testsuite/20_util/is_swappable_with/requirements/
|
|
|
|
|
explicit_instantiation.cc: New.
|
|
|
|
|
* testsuite/20_util/is_swappable_with/requirements/typedefs.cc: New.
|
|
|
|
|
* testsuite/20_util/is_swappable_with/value.cc: New.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
|
|
|
|
|
dg-error line numbers.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2016-06-16 14:42:21 +02:00
|
|
|
|
2016-06-16 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-06-16 15:47:35 +02:00
|
|
|
|
* include/std/array: Remove trailing whitespace.
|
|
|
|
|
* include/std/atomic: Likewise.
|
|
|
|
|
* include/std/bitset: Likewise.
|
|
|
|
|
* include/std/chrono: Likewise.
|
|
|
|
|
* include/std/complex: Likewise.
|
|
|
|
|
* include/std/condition_variable: Likewise.
|
|
|
|
|
* include/std/fstream: Likewise.
|
|
|
|
|
* include/std/functional: Likewise.
|
|
|
|
|
* include/std/future: Likewise.
|
|
|
|
|
* include/std/iomanip: Likewise.
|
|
|
|
|
* include/std/iosfwd: Likewise.
|
|
|
|
|
* include/std/istream: Likewise.
|
|
|
|
|
* include/std/limits: Likewise.
|
|
|
|
|
* include/std/ratio: Likewise.
|
|
|
|
|
* include/std/scoped_allocator: Likewise.
|
|
|
|
|
* include/std/sstream: Likewise.
|
|
|
|
|
* include/std/stdexcept: Likewise.
|
|
|
|
|
* include/std/string: Likewise.
|
|
|
|
|
* include/std/system_error: Likewise.
|
|
|
|
|
* include/std/thread: Likewise.
|
|
|
|
|
* include/std/tuple: Likewise.
|
|
|
|
|
* include/std/type_traits: Likewise.
|
|
|
|
|
* include/std/utility: Likewise.
|
|
|
|
|
* include/std/valarray: Likewise.
|
|
|
|
|
* include/std/vector: Likewise.
|
|
|
|
|
|
2016-06-16 14:42:21 +02:00
|
|
|
|
* include/bits/stl_vector.h (vector::_S_insert_aux_assign): Define
|
|
|
|
|
new overloaded functions.
|
|
|
|
|
* include/bits/vector.tcc (vector::_M_insert_aux): Use new functions
|
|
|
|
|
to avoid creating a redundant temporary.
|
|
|
|
|
* testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc: New
|
|
|
|
|
test.
|
|
|
|
|
|
2016-06-15 22:09:56 +02:00
|
|
|
|
2016-06-15 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_deque.h
|
|
|
|
|
(std::deque<>::operator=): Call _M_assign_aux.
|
|
|
|
|
(std::deque<>::assign(initializer_list<>)): Likewise.
|
|
|
|
|
(std::deque<>::resize(size_t, const value_type&)): Call _M_fill_insert.
|
|
|
|
|
(std::deque<>::insert(const_iterator, initializer_list<>)):
|
|
|
|
|
Call _M_range_insert_aux.
|
|
|
|
|
(std::deque<>::_M_assign_aux<It>(It, It, std::forward_iterator_tag):
|
|
|
|
|
Likewise.
|
|
|
|
|
(std::deque<>::_M_fill_assign): Call _M_fill_insert.
|
|
|
|
|
(std::deque<>::_M_move_assign2): Call _M_assign_aux.
|
|
|
|
|
* include/bits/deque.tcc
|
|
|
|
|
(std::deque<>::operator=): Call _M_range_insert_aux.
|
|
|
|
|
(std::deque<>::_M_assign_aux<It>(It, It, std::input_iterator_tag)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/bits/stl_vector.h
|
|
|
|
|
(std::vector<>::operator=): Call _M_assign_aux.
|
|
|
|
|
(std::vector<>::assign(initializer_list<>)): Likewise.
|
|
|
|
|
(std::vector<>::resize(size_t, const value_type&)): Call _M_fill_insert.
|
|
|
|
|
(std::vector<>::insert(const_iterator, initializer_list<>)):
|
|
|
|
|
Call _M_range_insert.
|
|
|
|
|
* include/bits/vector.tcc (std::vector<>::_M_assign_aux): Likewise.
|
|
|
|
|
|
2016-06-07 22:19:19 +02:00
|
|
|
|
2016-06-07 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/std/tuple (_Head_base<>): Default specialization condition at
|
|
|
|
|
type declaration.
|
|
|
|
|
|
2016-06-06 18:28:59 +02:00
|
|
|
|
2016-06-06 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Support allocators in tuples of zero size.
|
|
|
|
|
* include/std/tuple (tuple<>::tuple(),
|
|
|
|
|
tuple<>::tuple(allocator_arg_t, const _Alloc&),
|
|
|
|
|
tuple<>::tuple(allocator_arg_t, const _Alloc&, const tuple&)): New.
|
|
|
|
|
* testsuite/20_util/tuple/cons/allocators.cc: Adjust.
|
|
|
|
|
|
2016-06-06 17:50:01 +02:00
|
|
|
|
2016-06-06 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71320
|
|
|
|
|
* src/filesystem/ops.cc (permissions(const path&, perms, error_code&)):
|
|
|
|
|
Add or remove permissions according to perms argument.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/permissions.cc: New
|
|
|
|
|
test.
|
|
|
|
|
|
2016-06-05 19:39:10 +02:00
|
|
|
|
2016-06-05 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Protect allocator-overloads of tuple-from-tuple constructors
|
|
|
|
|
from cases that would create dangling references.
|
|
|
|
|
* include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
|
|
|
|
|
const tuple<_UElements...>&), tuple(allocator_arg_t, const _Alloc&,
|
|
|
|
|
tuple<_UElements...>&&)): Add a check for _NonNestedTuple.
|
|
|
|
|
* testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Adjust.
|
|
|
|
|
|
2016-05-29 10:03:35 +02:00
|
|
|
|
2016-05-29 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/backwards_compatibility.xml: Adjust
|
|
|
|
|
lists.debian.org link to https.
|
|
|
|
|
* doc/html/manual/backwards.html: Regenerate.
|
|
|
|
|
|
2016-05-27 23:23:42 +02:00
|
|
|
|
2016-05-27 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/abi.xml: Adjust URL to use https.
|
|
|
|
|
* doc/html/manual/*: Regenerate.
|
|
|
|
|
|
2016-05-27 16:08:37 +02:00
|
|
|
|
2016-05-27 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/66338
|
|
|
|
|
* include/std/tuple (_TMC): Add a check for _NotSameTuple.
|
|
|
|
|
* include/std/tuple (tuple(_UElements&&...)): Remove the separate
|
|
|
|
|
check for _NotSameTuple.
|
|
|
|
|
* include/std/tuple (_TMCT): New.
|
|
|
|
|
* include/std/tuple (tuple(const tuple<_UElements...>&)): Use it.
|
|
|
|
|
* include/std/tuple (tuple(tuple<_UElements...>&&)): Likewise.
|
|
|
|
|
* include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
|
|
|
|
|
const tuple<_UElements...>&)): Likewise.
|
|
|
|
|
* include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
|
|
|
|
|
tuple<_UElements...>&&)): Likewise.
|
|
|
|
|
* testsuite/20_util/tuple/cons/66338.cc: New.
|
|
|
|
|
|
2016-05-25 11:36:28 +02:00
|
|
|
|
2016-05-25 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-05-25 18:13:52 +02:00
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Fix test for sendfile.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
|
2016-05-25 11:36:28 +02:00
|
|
|
|
* include/bits/c++config (_GLIBCXX14_USE_CONSTEXPR): Remove it.
|
|
|
|
|
* include/bits/hashtable_policy.h (_Power2_rehash_policy::_M_next_bkt):
|
|
|
|
|
Remove const qualification on function. Replace
|
|
|
|
|
_GLIBCXX14_USE_CONSTEXPR on automatic variables with const.
|
|
|
|
|
(_Power2_rehash_policy::_M_need_rehash): Remove const qualification.
|
|
|
|
|
(_Power2_rehash_policy::_M_next_bkt): Remove mutable specifier.
|
|
|
|
|
|
2016-05-24 22:55:57 +02:00
|
|
|
|
2016-05-24 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/c++config (_GLIBCXX14_USE_CONSTEXPR): New.
|
|
|
|
|
* include/bits/hashtable_policy.h
|
|
|
|
|
(_Prime_rehash_policy::__has_load_factor): New. Mark rehash policy
|
|
|
|
|
having load factor management.
|
|
|
|
|
(_Mask_range_hashing): New.
|
|
|
|
|
(__clp2): New.
|
|
|
|
|
(_Power2_rehash_policy): New.
|
|
|
|
|
(_Inserts<>): Remove last template parameter, _Unique_keys, so that
|
|
|
|
|
partial specializations only depend on whether iterators are constant
|
|
|
|
|
or not.
|
|
|
|
|
* testsuite/23_containers/unordered_set/hash_policy/26132.cc: Adapt to
|
|
|
|
|
test new hash policy.
|
|
|
|
|
* testsuite/23_containers/unordered_set/hash_policy/load_factor.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_set/hash_policy/rehash.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_set/insert/hash_policy.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/performance/23_containers/insert/54075.cc: Add benchmark
|
|
|
|
|
using the new hash policy.
|
|
|
|
|
* testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
|
|
|
|
|
|
2016-05-24 17:59:05 +02:00
|
|
|
|
2016-05-24 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_queue.h (priority_queue::value_compare): Define.
|
|
|
|
|
|
2016-05-23 22:03:35 +02:00
|
|
|
|
2016-05-23 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/debug/safe_iterator.h
|
|
|
|
|
(_Safe_iterator<>::operator->()): Implement using underlying iterator
|
|
|
|
|
operator ->.
|
|
|
|
|
* include/debug/safe_local_iterator.h
|
|
|
|
|
(_Safe_local_iterator<>::operator->()): Likewise.
|
|
|
|
|
|
2016-05-20 14:36:57 +02:00
|
|
|
|
2016-05-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/experimental/memory_resource/1.cc: Add required argument
|
|
|
|
|
to dg-require-atomic-builtins.
|
|
|
|
|
|
2016-05-13 16:47:46 +02:00
|
|
|
|
2016-05-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71073
|
|
|
|
|
* include/debug/bitset: Add #pragma GCC system_header.
|
|
|
|
|
* include/debug/deque: Likewise.
|
|
|
|
|
* include/debug/list: Likewise.
|
|
|
|
|
* include/debug/map: Likewise.
|
|
|
|
|
* include/debug/set: Likewise.
|
|
|
|
|
* include/debug/string: Likewise.
|
|
|
|
|
* include/debug/unordered_map: Likewise.
|
|
|
|
|
* include/debug/unordered_set: Likewise.
|
|
|
|
|
* include/debug/vector: Likewise.
|
|
|
|
|
* include/debug/functions.h: Adjust whitespace.
|
|
|
|
|
|
2016-05-12 16:08:45 +02:00
|
|
|
|
2016-05-12 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71081
|
|
|
|
|
* testsuite/experimental/memory_resource/1.cc: Require atomics.
|
|
|
|
|
|
2016-05-11 14:39:28 +02:00
|
|
|
|
2016-05-11 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71049
|
|
|
|
|
* src/c++11/cow-stdexcept.cc [!_GLIBCXX_USE_DUAL_ABI]: Don't define
|
|
|
|
|
exception constructors with __sso_string parameters.
|
|
|
|
|
|
2016-05-10 13:25:06 +02:00
|
|
|
|
2016-05-10 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-05-10 17:39:20 +02:00
|
|
|
|
* include/experimental/bits/fs_dir.h (begin, end): Add noexcept.
|
|
|
|
|
* testsuite/experimental/filesystem/iterators/directory_iterator.cc:
|
|
|
|
|
Test begin and end functions.
|
|
|
|
|
* testsuite/experimental/filesystem/iterators/
|
|
|
|
|
recursive_directory_iterator.cc: Likewise.
|
|
|
|
|
|
2016-05-10 17:39:14 +02:00
|
|
|
|
PR libstdc++/71038
|
|
|
|
|
* src/filesystem/ops.cc (do_copy_file): Fix backwards conditions.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/copy_file.cc: New test.
|
|
|
|
|
|
2016-05-10 15:09:22 +02:00
|
|
|
|
* include/experimental/bits/fs_dir.h (__directory_iterator_proxy):
|
|
|
|
|
Overload operator* to move from rvalues.
|
|
|
|
|
|
2016-05-10 15:04:21 +02:00
|
|
|
|
PR libstdc++/71036
|
|
|
|
|
* src/filesystem/ops.cc (create_dir): Handle EEXIST from mkdir.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/create_directory.cc:
|
|
|
|
|
New test.
|
|
|
|
|
|
2016-05-10 14:22:32 +02:00
|
|
|
|
PR libstdc++/71037
|
|
|
|
|
* src/filesystem/ops.cc (canonical(const path&, const path&)): Add
|
|
|
|
|
base path to exception.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/canonical.cc: Test
|
|
|
|
|
paths contained in exception.
|
|
|
|
|
|
2016-05-10 14:04:22 +02:00
|
|
|
|
* testsuite/experimental/type_erased_allocator/2.cc: Remove unused
|
|
|
|
|
using declaration.
|
|
|
|
|
|
2016-05-10 13:25:06 +02:00
|
|
|
|
PR libstdc++/71005
|
|
|
|
|
* include/experimental/bits/fs_dir.h (__directory_iterator_proxy):
|
|
|
|
|
New type.
|
|
|
|
|
(directory_iterator::operator++(int)): Return proxy.
|
|
|
|
|
(recursive_directory_iterator::operator++(int)): Likewise.
|
|
|
|
|
* testsuite/experimental/filesystem/iterators/directory_iterator.cc:
|
|
|
|
|
Test post-increment.
|
|
|
|
|
* testsuite/experimental/filesystem/iterators/
|
|
|
|
|
recursive_directory_iterator.cc: Likewise.
|
|
|
|
|
|
2016-05-09 13:50:01 +02:00
|
|
|
|
2016-05-09 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71004
|
|
|
|
|
* testsuite/experimental/filesystem/iterators/
|
|
|
|
|
recursive_directory_iterator.cc: Fix test02 to not call member
|
|
|
|
|
functions on invalid iterator, and use VERIFY not assert.
|
|
|
|
|
|
2016-05-09 13:03:36 +02:00
|
|
|
|
2016-05-09 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Avoid endless run-time recursion for copying single-element
|
|
|
|
|
tuples where the element type is by-value constructible
|
|
|
|
|
from any type.
|
|
|
|
|
* include/std/tuple (_NotSameTuple): New.
|
|
|
|
|
* include/std/tuple (tuple(_UElements&&...): Use it.
|
|
|
|
|
* testsuite/20_util/tuple/cons/element_accepts_anything_byval.cc: New.
|
|
|
|
|
|
2016-05-09 12:09:37 +02:00
|
|
|
|
2016-05-09 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/71004
|
|
|
|
|
* include/experimental/bits/fs_dir.h (recursive_directory_iterator):
|
|
|
|
|
Initialize scalar member variables in default constructor.
|
|
|
|
|
* testsuite/experimental/filesystem/iterators/
|
2016-05-10 13:25:06 +02:00
|
|
|
|
recursive_directory_iterator.cc: Test default construction.
|
2016-05-09 12:09:37 +02:00
|
|
|
|
|
2016-05-05 21:54:42 +02:00
|
|
|
|
2016-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*.
|
|
|
|
|
|
2016-05-05 12:03:56 +02:00
|
|
|
|
2016-05-05 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/experimental/filesystem/path/native/string.cc: Add
|
|
|
|
|
dg-require-filesystem-ts directive.
|
|
|
|
|
|
2016-05-04 14:08:45 +02:00
|
|
|
|
2016-05-04 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/70940
|
|
|
|
|
* include/experimental/memory_resource
|
|
|
|
|
(__resource_adaptor_imp::do_allocate): Do not default-construct
|
|
|
|
|
rebound allocator.
|
|
|
|
|
(__resource_adaptor_imp::do_deallocate): Likewise. Use
|
|
|
|
|
allocator_traits to get pointer type.
|
|
|
|
|
(__null_memory_resource::do_allocate): Remove unused parameters.
|
|
|
|
|
(__null_memory_resource::do_deallocate): Likewise.
|
|
|
|
|
(__null_memory_resource::do_is_equal): Likewise. Add return statement.
|
|
|
|
|
* testsuite/experimental/type_erased_allocator/1.cc: Combine with ...
|
|
|
|
|
* testsuite/experimental/type_erased_allocator/1_neg.cc: This, and
|
|
|
|
|
move to ...
|
|
|
|
|
* testsuite/experimental/memory_resource/1.cc: Here.
|
|
|
|
|
* testsuite/experimental/memory_resource/null_memory_resource.cc: New.
|
|
|
|
|
* testsuite/experimental/memory_resource/resource_adaptor.cc: New.
|
|
|
|
|
|
2016-04-29 18:11:43 +02:00
|
|
|
|
2016-04-29 Chris Gregory <czipperz@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/*: Remove trailing whitespace.
|
|
|
|
|
* src/*: Likewise.
|
|
|
|
|
* testsuite/tr1/*: Likewise.
|
|
|
|
|
* testsuite/util/*: Likewise.
|
|
|
|
|
|
2016-04-28 14:32:50 +02:00
|
|
|
|
2016-04-28 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-04-28 14:33:07 +02:00
|
|
|
|
PR libstdc++/70766
|
|
|
|
|
* include/bits/basic_ios.tcc (basic_ios::_M_cache_locale): Use
|
|
|
|
|
__addressof.
|
|
|
|
|
* include/bits/stream_iterator.h (istream_iterator, ostream_iterator):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/std/atomic (atomic<_Tp>): Likewise.
|
|
|
|
|
* include/std/shared_mutex (shared_lock): Likewise.
|
|
|
|
|
* testsuite/24_iterators/istream_iterator/70766.cc: New test.
|
|
|
|
|
* testsuite/24_iterators/ostream_iterator/70766.cc : New test.
|
|
|
|
|
* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
|
|
|
|
|
* testsuite/29_atomics/atomic/70766.cc: New test.
|
|
|
|
|
* testsuite/30_threads/shared_lock/70766.cc: New test.
|
|
|
|
|
|
2016-04-28 14:32:50 +02:00
|
|
|
|
* include/bits/hashtable_policy.h (__detail::_Insert_base,
|
|
|
|
|
__detail::_Insert): Improve comments.
|
|
|
|
|
|
2016-04-27 13:57:58 +02:00
|
|
|
|
2016-04-27 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/70767
|
|
|
|
|
* include/std/limits: Update comments about DRs.
|
|
|
|
|
(numeric_limits<const _Tp>, numeric_limits<volatile _Tp>,
|
|
|
|
|
numeric_limits<const volatile _Tp>): Define unconditionally.
|
|
|
|
|
|
2016-04-24 20:06:54 +02:00
|
|
|
|
2016-04-24 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/70762
|
|
|
|
|
* testsuite/util/testsuite_fs.h (__gnu_test::nonexistent_path): Use
|
|
|
|
|
static counter to return a different path on every call.
|
|
|
|
|
|
2016-04-23 05:58:37 +02:00
|
|
|
|
2016-04-22 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/70745
|
|
|
|
|
* include/bits/regex_executor.tcc (_Executor<>::_M_word_boundary):
|
|
|
|
|
Fix the match_not_bow and match_not_eow behavior.
|
|
|
|
|
* testsuite/28_regex/regression.cc: Add testcase.
|
|
|
|
|
|
2016-04-20 19:40:02 +02:00
|
|
|
|
2016-04-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69703
|
|
|
|
|
* src/c++11/codecvt.cc (__codecvt_utf8_base<char16_t>::do_in,
|
|
|
|
|
__codecvt_utf8_utf16_base<char16_t>::do_in): Fix mask operations.
|
|
|
|
|
|
2016-04-19 20:02:32 +02:00
|
|
|
|
2016-04-19 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-04-19 20:02:46 +02:00
|
|
|
|
PR libstdc++/69703
|
2016-04-20 19:40:02 +02:00
|
|
|
|
* src/c++11/codecvt.cc (__codecvt_utf8_base<char16_t>::do_in):
|
2016-04-19 20:02:46 +02:00
|
|
|
|
Override endianness bit in mode.
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf8/69703.cc: New test.
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc: Test
|
|
|
|
|
that little_endian mode is ignored.
|
|
|
|
|
* testsuite/experimental/filesystem/path/native/string.cc: New test.
|
|
|
|
|
|
2016-04-19 20:02:39 +02:00
|
|
|
|
PR libstdc++/70609
|
|
|
|
|
* src/filesystem/ops.cc (close_fd): New function.
|
|
|
|
|
(do_copy_file): Set permissions before copying file contents. Check
|
|
|
|
|
result of closing file descriptors. Don't copy streambuf when file
|
|
|
|
|
is empty.
|
|
|
|
|
(copy(const path&, const path&, copy_options, error_code&)): Use
|
|
|
|
|
lstat for source file when copy_symlinks is set.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/copy.cc: Test copy().
|
|
|
|
|
|
2016-04-19 20:02:32 +02:00
|
|
|
|
* include/experimental/bits/fs_fwd.h (operator&, operator|, operator^,
|
|
|
|
|
operator~ operator&=, operator|=, operator^=): Add noexcept to
|
|
|
|
|
overloaded operators for copy_options, perms and directory_options.
|
|
|
|
|
* src/filesystem/ops.cc (make_file_type, make_file_status,
|
|
|
|
|
is_not_found_errno, file_time): Add noexcept.
|
|
|
|
|
|
2016-04-19 18:29:05 +02:00
|
|
|
|
2016-04-19 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
* include/bits/c++14_warning.h: Do not refer C++14 as experimental.
|
|
|
|
|
|
2016-04-18 17:43:50 +02:00
|
|
|
|
2016-04-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-04-18 20:03:50 +02:00
|
|
|
|
PR libstdc++/41759
|
|
|
|
|
* include/bits/random.h: Reword static assertion messages to state
|
|
|
|
|
positive conditions.
|
|
|
|
|
* include/bits/random.tcc: Likewise.
|
|
|
|
|
* include/bits/uniform_int_dist.h: Likewise.
|
|
|
|
|
* testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error
|
|
|
|
|
patterns.
|
|
|
|
|
|
2016-04-18 18:37:56 +02:00
|
|
|
|
* include/std/function (_Bind, _Bind_result): Remove unused typedefs.
|
|
|
|
|
|
2016-04-18 18:19:25 +02:00
|
|
|
|
* config/cpu/sh/atomicity.h: Fix typo in comment.
|
|
|
|
|
|
2016-04-18 18:16:14 +02:00
|
|
|
|
PR libstdc++/70294
|
|
|
|
|
* include/std/thread (operator<, operator==): Move definitions to
|
|
|
|
|
namespace-scope.
|
|
|
|
|
* testsuite/30_threads/thread/id/70294.cc: New test.
|
|
|
|
|
|
2016-04-18 17:44:25 +02:00
|
|
|
|
* testsuite/18_support/bad_exception/23591_thread-1.c: Add
|
|
|
|
|
-Wno-pedantic to dg-options.
|
|
|
|
|
* testsuite/20_util/align/2.cc: Use type as operand of alignof.
|
|
|
|
|
* testsuite/20_util/is_floating_point/value.cc: Add -Wno-pedantic
|
|
|
|
|
to dg-options.
|
|
|
|
|
* testsuite/20_util/specialized_algorithms/uninitialized_fill/32158.cc:
|
|
|
|
|
Remove extra semi-colon.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/tuple_element.cc:
|
|
|
|
|
Always supply second argument to static_assert.
|
|
|
|
|
* testsuite/25_algorithms/lower_bound/no_operator_ne.cc: Remove extra
|
|
|
|
|
semi-colon.
|
|
|
|
|
* testsuite/26_numerics/complex/c99.cc: Add -Wno-pedantic to
|
|
|
|
|
dg-options.
|
|
|
|
|
* testsuite/26_numerics/complex/literals/values.cc: Likewise.
|
|
|
|
|
* testsuite/29_atomics/atomic/60695.cc: Likewise.
|
|
|
|
|
* testsuite/29_atomics/atomic/62259.cc: use __alignof__ instead of
|
|
|
|
|
alignof when operand is an object not a type.
|
|
|
|
|
* testsuite/decimal/ctor.cc: Add -Wno-pedantic to dg-options.
|
|
|
|
|
* testsuite/decimal/make-decimal.cc: Likewise.
|
|
|
|
|
* testsuite/experimental/type_traits/value.cc: Always supply second
|
|
|
|
|
argument to static_assert.
|
|
|
|
|
* testsuite/util/testsuite_common_types.h: Use __extension__ for
|
|
|
|
|
__int128 types.
|
|
|
|
|
|
2016-04-18 17:44:16 +02:00
|
|
|
|
* testsuite/experimental/type_erased_allocator/1.cc: Don't include
|
|
|
|
|
internal header.
|
|
|
|
|
* testsuite/experimental/type_erased_allocator/1_neg.cc: Likewise.
|
|
|
|
|
* testsuite/experimental/type_erased_allocator/2.cc: Likewise.
|
|
|
|
|
* testsuite/experimental/type_erased_allocator/uses_allocator.cc:
|
|
|
|
|
Likewise. Add licence and change to compile-only test.
|
|
|
|
|
|
2016-04-18 17:44:12 +02:00
|
|
|
|
* include/bits/locale_facets.h (ctype::do_narrow): Add attribute to
|
|
|
|
|
unused parameter.
|
|
|
|
|
* include/bits/regex_automaton.h (_NFA::_M_insert_alt): Likewise.
|
|
|
|
|
|
2016-04-18 17:43:50 +02:00
|
|
|
|
* include/ext/string_conversions.h (__stoa): Avoid -Wsign-compare
|
|
|
|
|
warnings.
|
|
|
|
|
|
2016-04-18 04:32:50 +02:00
|
|
|
|
2016-04-17 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
* include/bits/specfun.h: Trivial comment misspelling.
|
|
|
|
|
|
2016-04-14 18:23:06 +02:00
|
|
|
|
2016-04-14 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
Revert Jonathan's empty ABI change from yesterday.
|
|
|
|
|
|
2016-04-14 01:26:41 +02:00
|
|
|
|
2016-04-13 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69517
|
|
|
|
|
* testsuite/25_algorithms/rotate/moveable2.cc: Make sure VLA
|
|
|
|
|
upper bound is positive.
|
|
|
|
|
|
Adjust for new empty class parameter passing ABI.
* include/bits/c++config (_GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES,
_GLIBCXX_END_NAMESPACE_EMPTY_TYPES, _GLIBCXX_ABI_TAG_EMPTY): Define.
* include/bits/hashtable.h (_Hashtable::_M_emplace): Change signatures
of functions taking empty structs by value. Add a template parameter
to overloads without hints. Rename overloads with hints to
_M_emplace_hint.
(_Hashtable::_M_erase(true_type, const_iterator),
_Hashtable::_M_erase(false_type, const_iterator)): Change signatures
by reordering parameters.
* include/bits/hashtable_policy.h (_Insert::insert): Adjust to call
_M_emplace_hint instead of _M_emplace.
* include/bits/shared_ptr.h (shared_ptr(_Tp1*, _Deleter, _Alloc),
shared_ptr(nullptr_t, _Deleter, _Alloc)): Use _GLIBCXX_ABI_TAG_EMPTY.
* include/bits/shared_ptr_base.h (_Sp_counted_deleter, __shared_count,
__shared_ptr): Likewise.
* include/bits/stl_algo.h (replace_if): Likewise.
* include/bits/stl_pair.h (piecewise_construct_t,
piecewise_construct): Use _GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES.
* include/bits/uses_allocator.h (allocator_arg_t, allocator_arg,
__uses_alloc0): Likewise.
* include/ext/pb_ds/assoc_container.hpp (basic_hash_table): Likewise.
* testsuite/20_util/scoped_allocator/69293_neg.cc: Adjust dg-error.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
* testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
* testsuite/20_util/uses_allocator/69293_neg.cc: Likewise.
* testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
* testsuite/ext/profile/mutex_extensions_neg.cc: Likewise.
From-SVN: r234964
2016-04-14 00:00:50 +02:00
|
|
|
|
2016-04-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/c++config (_GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES,
|
|
|
|
|
_GLIBCXX_END_NAMESPACE_EMPTY_TYPES, _GLIBCXX_ABI_TAG_EMPTY): Define.
|
|
|
|
|
* include/bits/hashtable.h (_Hashtable::_M_emplace): Change signatures
|
|
|
|
|
of functions taking empty structs by value. Add a template parameter
|
|
|
|
|
to overloads without hints. Rename overloads with hints to
|
|
|
|
|
_M_emplace_hint.
|
|
|
|
|
(_Hashtable::_M_erase(true_type, const_iterator),
|
|
|
|
|
_Hashtable::_M_erase(false_type, const_iterator)): Change signatures
|
|
|
|
|
by reordering parameters.
|
|
|
|
|
* include/bits/hashtable_policy.h (_Insert::insert): Adjust to call
|
|
|
|
|
_M_emplace_hint instead of _M_emplace.
|
|
|
|
|
* include/bits/shared_ptr.h (shared_ptr(_Tp1*, _Deleter, _Alloc),
|
|
|
|
|
shared_ptr(nullptr_t, _Deleter, _Alloc)): Use _GLIBCXX_ABI_TAG_EMPTY.
|
|
|
|
|
* include/bits/shared_ptr_base.h (_Sp_counted_deleter, __shared_count,
|
|
|
|
|
__shared_ptr): Likewise.
|
|
|
|
|
* include/bits/stl_algo.h (replace_if): Likewise.
|
|
|
|
|
* include/bits/stl_pair.h (piecewise_construct_t,
|
|
|
|
|
piecewise_construct): Use _GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES.
|
|
|
|
|
* include/bits/uses_allocator.h (allocator_arg_t, allocator_arg,
|
|
|
|
|
__uses_alloc0): Likewise.
|
|
|
|
|
* include/ext/pb_ds/assoc_container.hpp (basic_hash_table): Likewise.
|
|
|
|
|
* testsuite/20_util/scoped_allocator/69293_neg.cc: Adjust dg-error.
|
|
|
|
|
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/uses_allocator/69293_neg.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
|
|
|
|
|
* testsuite/ext/profile/mutex_extensions_neg.cc: Likewise.
|
|
|
|
|
|
2016-04-12 18:31:25 +02:00
|
|
|
|
2016-04-12 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
Document C++17/TR29124 C++ Special Math Functions.
|
|
|
|
|
* include/bits/specfun.h: Add Doxygen markup.
|
|
|
|
|
|
2016-04-07 16:26:24 +02:00
|
|
|
|
2016-04-07 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/30_threads/thread/70503.cc: Adjust from xfail to pass.
|
|
|
|
|
|
2016-04-06 17:07:49 +02:00
|
|
|
|
2016-04-06 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* src/Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null.
|
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
|
2016-04-05 15:35:32 +02:00
|
|
|
|
2016-04-05 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-04-05 21:03:46 +02:00
|
|
|
|
PR libstdc++/70554
|
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't test
|
|
|
|
|
__atomic_fetch_add for bool.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2016-04-05 19:21:48 +02:00
|
|
|
|
* testsuite/30_threads/thread/70503.cc: Require -static to work.
|
|
|
|
|
|
2016-04-05 15:35:32 +02:00
|
|
|
|
PR libstdc++/70503
|
|
|
|
|
* src/c++11/thread.cc (execute_native_thread_routine,
|
|
|
|
|
execute_native_thread_routine_compat): Give internal linkage.
|
|
|
|
|
* testsuite/30_threads/thread/70503.cc: New test.
|
|
|
|
|
|
2016-04-05 13:31:30 +02:00
|
|
|
|
2016-04-05 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/70437
|
|
|
|
|
* include/bits/stl_pair.h (_ConstructiblePair,
|
|
|
|
|
_ImplicitlyConvertiblePair, _MoveConstructiblePair,
|
|
|
|
|
_ImplicitlyMoveConvertiblePair): Add shortcut conditions
|
|
|
|
|
for same-type cases.
|
|
|
|
|
* testsuite/20_util/pair/70437.cc: New.
|
|
|
|
|
|
2016-03-24 19:13:40 +01:00
|
|
|
|
2016-03-24 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69945
|
|
|
|
|
* config/abi/pre/gnu.ver: Add new symbol.
|
|
|
|
|
* libsupc++/eh_alloc.cc (__gnu_cxx::__freeres): Define.
|
|
|
|
|
* testsuite/18_support/free_eh_pool.cc: New test.
|
|
|
|
|
|
2016-03-23 01:41:52 +01:00
|
|
|
|
2016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
* include/Makefile.am (install-freestanding-headers): Add
|
|
|
|
|
concept_check.h and move.h to the installed headers.
|
|
|
|
|
* include/Makefile.in: Regenerated.
|
|
|
|
|
* include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for
|
|
|
|
|
freestanding implementations.
|
|
|
|
|
* doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention
|
|
|
|
|
that this macro has no effect for freestanding implementations.
|
|
|
|
|
* doc/html/manual/using_macros.html: Likewise.
|
|
|
|
|
|
2016-02-24 14:59:29 +01:00
|
|
|
|
2016-02-24 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69939
|
|
|
|
|
* include/experimental/tuple (__apply_impl): Qualify get and forward.
|
|
|
|
|
|
libstdc++/69893 make <tr1/cmath> work with C++11
PR libstdc++/69893
* include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc,
exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint,
llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter,
nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma,
trunc) [__cplusplus >= 201103L]: Import from namespace std.
(fabs) [__cplusplus < 201103L]: Import from namespace std.
* include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]:
Likewise.
* testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global
namespace before including TR1 headers.
* testsuite/tr1/headers/c++200x/math.cc: New test.
From-SVN: r233644
2016-02-23 20:49:31 +01:00
|
|
|
|
2016-02-23 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-02-23 21:03:30 +01:00
|
|
|
|
* doc/xml/manual/using.xml: Document __STDCPP_WANT_MATH_SPEC_FUNCS__.
|
|
|
|
|
* doc/html/*: Regenerate.
|
|
|
|
|
|
libstdc++/69893 make <tr1/cmath> work with C++11
PR libstdc++/69893
* include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc,
exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint,
llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter,
nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma,
trunc) [__cplusplus >= 201103L]: Import from namespace std.
(fabs) [__cplusplus < 201103L]: Import from namespace std.
* include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]:
Likewise.
* testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global
namespace before including TR1 headers.
* testsuite/tr1/headers/c++200x/math.cc: New test.
From-SVN: r233644
2016-02-23 20:49:31 +01:00
|
|
|
|
PR libstdc++/69893
|
|
|
|
|
* include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc,
|
|
|
|
|
exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint,
|
|
|
|
|
llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter,
|
|
|
|
|
nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma,
|
|
|
|
|
trunc) [__cplusplus >= 201103L]: Import from namespace std.
|
|
|
|
|
(fabs) [__cplusplus < 201103L]: Import from namespace std.
|
|
|
|
|
* include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global
|
|
|
|
|
namespace before including TR1 headers.
|
|
|
|
|
* testsuite/tr1/headers/c++200x/math.cc: New test.
|
|
|
|
|
|
2016-02-23 16:57:09 +01:00
|
|
|
|
2016-02-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69881
|
|
|
|
|
* include/c_global/cstdarg: Undefine __need___va_list.
|
|
|
|
|
* include/c_global/cstddef: Undefine all kinds of __need_*.
|
|
|
|
|
|
2016-02-17 04:33:02 +01:00
|
|
|
|
2016-02-16 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69794
|
|
|
|
|
* include/bits/regex_scanner.h: Add different special character
|
|
|
|
|
sets for grep and egrep regex.
|
|
|
|
|
* include/bits/regex_scanner.tcc: Use _M_spec_char more uniformly.
|
|
|
|
|
* testsuite/28_regex/regression.cc: Add new testcase.
|
|
|
|
|
|
2016-02-08 16:22:32 +01:00
|
|
|
|
2016-02-08 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-02-08 16:37:59 +01:00
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Remove accidentally
|
|
|
|
|
added 'constexpr' in previous commit.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2016-02-08 16:22:32 +01:00
|
|
|
|
PR libstdc++/48891
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Enable isinf and isnan
|
|
|
|
|
checks for all targets except *-*-solaris2.* and ensure we find the
|
|
|
|
|
libc math.h header not our own.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2016-02-05 11:25:08 +01:00
|
|
|
|
2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/post/s390x-linux-gnu/32/baseline_symbols.txt (FUNC):
|
|
|
|
|
New file. Copied over from s390-linux-gnu.
|
|
|
|
|
|
2016-02-04 22:43:40 +01:00
|
|
|
|
2016-02-04 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-02-05 00:47:21 +01:00
|
|
|
|
PR libstdc++/69626
|
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_C99): Check C99 stdlib.h functions
|
|
|
|
|
with -std=c++98 and define _GLIBCXX98_USE_C99_STDLIB.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* testsuite/21_strings/c_strings/char/69626.cc: New.
|
|
|
|
|
|
2016-02-04 22:46:19 +01:00
|
|
|
|
* doc/html/index.html: Regenerate.
|
|
|
|
|
|
2016-02-04 22:43:40 +01:00
|
|
|
|
* doc/xml/manual/containers.xml: Add cross-reference to Dual ABI.
|
|
|
|
|
* doc/xml/manual/spine.xml: Update copyright years and author blurb.
|
|
|
|
|
* doc/html/*: Regenerate.
|
|
|
|
|
|
2016-02-01 12:13:40 +01:00
|
|
|
|
2016-02-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69581
|
|
|
|
|
* include/c_compatibility/math.h: Move header guards.
|
|
|
|
|
* include/c_compatibility/stdlib.h: Likewise.
|
|
|
|
|
|
2016-01-29 11:52:08 +01:00
|
|
|
|
2016-01-29 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69506
|
|
|
|
|
* config/os/newlib/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
|
|
|
|
|
|
2016-01-28 14:09:23 +01:00
|
|
|
|
2016-01-28 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69450
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Split check for obsolete
|
|
|
|
|
isinf and isnan functions into two independent checks. Check on hpux.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* include/c_global/cmath (isinf(double), isnan(double)): Use
|
|
|
|
|
_GLIBCXX_HAVE_OBSOLETE_ISINF and _GLIBCXX_HAVE_OBSOLETE_ISNAN,
|
|
|
|
|
respectively.
|
|
|
|
|
|
2016-01-27 20:31:06 +01:00
|
|
|
|
2016-01-27 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/libstdc++-prettyprinters/whatis.cc: Include <random>.
|
|
|
|
|
|
2016-01-27 16:09:38 +01:00
|
|
|
|
2016-01-27 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69295
|
|
|
|
|
* testsuite/ext/special_functions/hyperg/check_value.cc: Use
|
|
|
|
|
-ffp-contract=off, and -ffloat-store to disable excess precision.
|
|
|
|
|
* testsuite/special_functions/02_assoc_legendre/check_value.cc: Use
|
|
|
|
|
-ffp-contract=off.
|
|
|
|
|
|
2016-01-26 20:38:20 +01:00
|
|
|
|
2016-01-26 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69478
|
|
|
|
|
* include/bits/stl_algobase.h (__copy_move<_IsMove, true,
|
|
|
|
|
random_access_iterator_tag>): Check is_move_assignable when moving.
|
|
|
|
|
(__copy_move_backwards<_IsMove, true, random_access_iterator_tag>):
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/25_algorithms/copy/move_iterators/69478.cc: New.
|
|
|
|
|
* testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: New.
|
|
|
|
|
* testsuite/25_algorithms/move/69478.cc: New.
|
|
|
|
|
* testsuite/25_algorithms/move_backward/69478.cc: new.
|
|
|
|
|
|
2016-01-26 17:07:33 +01:00
|
|
|
|
2016-01-26 Andris Pavenis <andris.pavenis@iki.fi>
|
|
|
|
|
|
|
|
|
|
* include/c_compatibility/stdlib.h: Include wide character related
|
|
|
|
|
definitions only when they are available in cstdlib.
|
|
|
|
|
|
2016-01-25 17:44:30 +01:00
|
|
|
|
2016-01-25 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69464
|
|
|
|
|
* include/Makefile.am: Add new header.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* include/bits/random.h (uniform_int_distribution): Move to
|
|
|
|
|
bits/uniform_int_dist.h.
|
|
|
|
|
* include/bits/random.tcc (uniform_int_distribution::operator(),
|
|
|
|
|
uniform_int_distribution::__generate_impl): Likewise.
|
|
|
|
|
* include/bits/uniform_int_dist.h: New header.
|
|
|
|
|
* include/bits/stl_algo.h [__cplusplus >= 201103L]: Include
|
|
|
|
|
<bits/uniform_int_dist.h> instead of <random>.
|
|
|
|
|
* testsuite/20_util/specialized_algorithms/uninitialized_copy/
|
|
|
|
|
move_iterators/1.cc: Include correct header for uninitialized_copy.
|
|
|
|
|
* testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
|
|
|
|
|
move_iterators/1.cc: Likewise.
|
|
|
|
|
* testsuite/25_algorithms/nth_element/58800.cc: Include correct
|
|
|
|
|
header for vector.
|
|
|
|
|
* testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error lines.
|
|
|
|
|
|
2016-01-23 23:24:59 +01:00
|
|
|
|
2016-01-23 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69446
|
|
|
|
|
* config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
|
|
|
|
|
|
2016-01-23 00:17:10 +01:00
|
|
|
|
2016-01-22 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
TR29124 C++ Special Math - <math.h> pulls funcs into global namespace.
|
|
|
|
|
* include/c_compatibility/math.h: Import the TR29124 functions
|
|
|
|
|
into the global namespace.
|
|
|
|
|
* testsuite/special_functions/01_assoc_laguerre/compile_2.cc: Remove
|
|
|
|
|
xfail and make compile-only.
|
|
|
|
|
* testsuite/special_functions/02_assoc_legendre/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/03_beta/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/04_comp_ellint_1/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/05_comp_ellint_2/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/06_comp_ellint_3/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/10_cyl_neumann/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/11_ellint_1/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/12_ellint_2/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/13_ellint_3/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/14_expint/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/15_hermite/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/16_laguerre/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/17_legendre/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/18_riemann_zeta/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/19_sph_bessel/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/20_sph_legendre/compile_2.cc: Ditto.
|
|
|
|
|
* testsuite/special_functions/21_sph_neumann/compile_2.cc: Ditto.
|
|
|
|
|
|
2016-01-22 13:47:26 +01:00
|
|
|
|
2016-01-22 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-01-22 22:15:41 +01:00
|
|
|
|
PR libstdc++/69116
|
|
|
|
|
* include/bits/valarray_before.h (__fun, __fun_with_valarray): Only
|
|
|
|
|
define result_type for types which can be safely used with valarrays.
|
|
|
|
|
* testsuite/26_numerics/valarray/69116.cc: New.
|
|
|
|
|
|
2016-01-22 13:47:26 +01:00
|
|
|
|
PR libstdc++/69413
|
|
|
|
|
* config/os/gnu-linux/os_defines.h: Define
|
|
|
|
|
_GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC.
|
|
|
|
|
* include/c_global/cmath (isinf, isnan): Check it.
|
|
|
|
|
* doc/xml/manual/internals.xml: Document it.
|
|
|
|
|
* doc/html/*: Regenerate.
|
|
|
|
|
|
2016-01-21 14:33:27 +01:00
|
|
|
|
2016-01-21 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69406
|
|
|
|
|
* include/bits/cpp_type_traits.h: Ensure C++ language linkage.
|
|
|
|
|
* include/ext/type_traits.h: Likewise.
|
|
|
|
|
* testsuite/17_intro/headers/c++2011/linkage.cc: Check autoconf macros
|
|
|
|
|
for presence of C headers.
|
|
|
|
|
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Adjust
|
|
|
|
|
dg-error line number.
|
|
|
|
|
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
|
|
|
|
|
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
|
|
|
|
|
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
|
|
|
|
|
|
2016-01-20 18:47:03 +01:00
|
|
|
|
2016-01-20 Torvald Riegel <triegel@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69310
|
|
|
|
|
* config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
|
|
|
|
|
|
2016-01-20 13:34:25 +01:00
|
|
|
|
2016-01-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
Add C++11 <cmath> overloads to the global namespace
PR libstdc++/60401
* include/c_compatibility/math.h (acosh, asinh, atanh, acbrt,
copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb,
lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn,
tgamma, trunc) [__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]:
Add using declarations.
* testsuite/26_numerics/headers/cmath/60401.cc: New.
From-SVN: r232627
2016-01-20 18:44:58 +01:00
|
|
|
|
PR libstdc++/60401
|
|
|
|
|
* include/c_compatibility/math.h (acosh, asinh, atanh, acbrt,
|
|
|
|
|
copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb,
|
|
|
|
|
lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
|
|
|
|
|
nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn,
|
|
|
|
|
tgamma, trunc) [__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]:
|
|
|
|
|
Add using declarations.
|
|
|
|
|
* testsuite/26_numerics/headers/cmath/60401.cc: New.
|
|
|
|
|
|
2016-01-20 13:34:25 +01:00
|
|
|
|
PR libstdc++/69386
|
|
|
|
|
* include/c_global/ccomplex: Ensure C++ language linkage.
|
|
|
|
|
* include/c_global/cmath: Likewise.
|
|
|
|
|
* include/c_global/cstdlib: Likewise.
|
|
|
|
|
* include/c_global/ctgmath: Likewise.
|
|
|
|
|
* testsuite/17_intro/headers/c++2011/linkage.cc: New.
|
|
|
|
|
|
2016-01-19 22:43:55 +01:00
|
|
|
|
2016-01-19 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/14608
|
|
|
|
|
PR libstdc++/60401
|
|
|
|
|
* include/Makefile.am: Use c_compatibility math.h and stdlib.h for
|
|
|
|
|
--enable-cheaders=c_global configs.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* include/c_compatibility/math.h: Remove obsolete _GLIBCXX_NAMESPACE_C
|
|
|
|
|
test and allow inclusion from C files.
|
|
|
|
|
* include/c_compatibility/stdlib.h: Likewise. Support freestanding.
|
|
|
|
|
(at_quick_exit, quick_exit): Add using directives.
|
|
|
|
|
* include/c_global/cmath: Use #include_next for math.h.
|
|
|
|
|
* include/c_global/cstdlib: Use #include_next for stdlib.h.
|
|
|
|
|
* testsuite/26_numerics/headers/cmath/14608.cc: New.
|
|
|
|
|
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
|
|
|
|
|
Remove xfail for most targets.
|
|
|
|
|
* testsuite/26_numerics/headers/cstdlib/60401.cc: New.
|
|
|
|
|
|
2016-01-18 21:09:55 +01:00
|
|
|
|
2016-01-18 Torvald Riegel <triegel@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/c++config (_GLIBCXX_USE_WEAK_REF): New.
|
|
|
|
|
(_GLIBCXX_TXN_SAFE, _GLIBCXX_TXN_SAFE_DYN): Use _GLIBCXX_USE_WEAK_REF
|
|
|
|
|
and move after its definition.
|
|
|
|
|
* config/os/aix/os_defines.h (_GLIBCXX_USE_WEAK_REF): Override.
|
|
|
|
|
* src/c++11/cow-stdexcept.cc: Use _GLIBCXX_USE_WEAK_REF instead of
|
|
|
|
|
__GXX_WEAK__, and only provide transactional clones if
|
|
|
|
|
_GLIBCXX_USE_WEAK_REF is true. Don't provide stubs of libitm
|
|
|
|
|
functions.
|
|
|
|
|
|
2016-01-18 12:24:20 +01:00
|
|
|
|
2016-01-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-01-18 18:15:42 +01:00
|
|
|
|
PR libstdc++/60637
|
|
|
|
|
* testsuite/26_numerics/headers/cmath/60637.cc: Add test.
|
|
|
|
|
|
2016-01-18 13:34:22 +01:00
|
|
|
|
PR libstdc++/69243
|
2016-01-18 12:43:37 +01:00
|
|
|
|
* include/std/functional (_Function_base::_M_not_empty_function):
|
|
|
|
|
Change overloads for pointers to take arguments by value.
|
|
|
|
|
* testsuite/20_util/function/cons/57465.cc: Add tests for
|
|
|
|
|
pointer-to-member cases.
|
|
|
|
|
|
2016-01-18 12:24:20 +01:00
|
|
|
|
PR libstdc++/69340
|
|
|
|
|
* src/c++11/cow-stdexcept.cc (_txnal_cow_string_C1_for_exceptions):
|
|
|
|
|
Use macros for exception handling and fix unused parameter warning.
|
|
|
|
|
|
2016-01-17 19:16:42 +01:00
|
|
|
|
2016-01-17 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/68734
|
|
|
|
|
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
|
2016-01-17 18:43:37 +01:00
|
|
|
|
2016-01-17 Torvald Riegel <triegel@redhat.com>
|
|
|
|
|
|
|
|
|
|
* src/c++11/cow-stdexcept.cc (txnal_read_ptr): Fix static_assert.
|
|
|
|
|
|
2016-01-16 23:52:21 +01:00
|
|
|
|
2016-01-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Add
|
|
|
|
|
__int128 symbols.
|
|
|
|
|
|
2016-01-16 00:00:30 +01:00
|
|
|
|
2016-01-15 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-01-16 00:12:13 +01:00
|
|
|
|
PR libstdc++/69293
|
|
|
|
|
* include/bits/uses_allocator.h (__uses_alloc<true, ...>): Add
|
|
|
|
|
static assertion that type is constructible from the arguments.
|
|
|
|
|
* testsuite/20_util/scoped_allocator/69293_neg.cc: New.
|
|
|
|
|
* testsuite/20_util/uses_allocator/69293_neg.cc: New.
|
|
|
|
|
* testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.
|
|
|
|
|
|
2016-01-16 00:00:30 +01:00
|
|
|
|
PR libstdc++/69294
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
|
|
|
|
|
and isnan on AIX. Quote variables.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2016-01-15 23:42:41 +01:00
|
|
|
|
2016-01-15 Torvald Riegel <triegel@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/basic_string.h (basic_string): Declare friends.
|
|
|
|
|
* include/bits/c++config (_GLIBCXX_TXN_SAFE,
|
|
|
|
|
_GLIBCXX_TXN_SAFE_DYN, _GLIBCXX_USE_ALLOCATOR_NEW): New.
|
|
|
|
|
* include/std/stdexcept (logic_error, domain_error, invalid_argument,
|
|
|
|
|
length_error, out_of_range, runtime_error, range_error,
|
|
|
|
|
underflow_error, overflow_error): Declare members as transaction-safe.
|
|
|
|
|
(logic_error, runtime_error): Declare friend functions.
|
|
|
|
|
* libsupc++/exception (exception, bad_exception): Declare members as
|
|
|
|
|
transaction-safe.
|
|
|
|
|
* src/c++11/cow-stdexcept.cc: Define transactional clones for the
|
|
|
|
|
transaction-safe members of exceptions and helper functions.
|
|
|
|
|
* libsupc++/eh_exception.cc: Adjust and define transactional clones.
|
|
|
|
|
* config/abi/pre/gnu.ver (GLIBCXX_3.4.22) Add transactional clones.
|
|
|
|
|
(CXXABI_1.3.10): New.
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_SIZE_T_MANGLING): New.
|
|
|
|
|
(GLIBCXX_ENABLE_ALLOCATOR): Set ENABLE_ALLOCATOR_NEW.
|
|
|
|
|
* configure.ac: Call GLIBCXX_CHECK_SIZE_T_MANGLING.
|
|
|
|
|
* include/Makefile.am: Write ENABLE_ALLOCATOR_NEW to c++config.h.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.10.
|
|
|
|
|
|
2016-01-15 23:26:02 +01:00
|
|
|
|
2016-01-15 Steve Ellcey <sellcey@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* include/ext/random.tcc: Use __builtin_isfinite instead of
|
|
|
|
|
std::isfinite.
|
|
|
|
|
|
2016-01-15 13:37:15 +01:00
|
|
|
|
2016-01-15 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/std_mutex.h: Fix Doxygen @file name.
|
|
|
|
|
|
2016-01-14 19:12:43 +01:00
|
|
|
|
2016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
Florian Goth <CaptainSifff@gmx.de>
|
|
|
|
|
|
|
|
|
|
Implement TR29124 C++ special Math Functions.
|
|
|
|
|
* include/Makefile.am: Add new headers.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* include/bits/specfun.h: New.
|
|
|
|
|
* include/c_global/cmath: Adjust for both tr1 and tr29124 maths.
|
|
|
|
|
* include/tr1/bessel_function.tcc: Ditto.
|
|
|
|
|
* include/tr1/beta_function.tcc: Ditto.
|
|
|
|
|
* include/tr1/cmath: Ditto.
|
|
|
|
|
* include/tr1/ell_integral.tcc: Ditto.
|
|
|
|
|
* include/tr1/exp_integral.tcc: Ditto.
|
|
|
|
|
* include/tr1/gamma.tcc: Ditto.
|
|
|
|
|
* include/tr1/hypergeometric.tcc: Ditto.
|
|
|
|
|
* include/tr1/legendre_function.tcc: Ditto.
|
|
|
|
|
* include/tr1/modified_bessel_func.tcc: Ditto.
|
|
|
|
|
* include/tr1/poly_hermite.tcc: Ditto.
|
|
|
|
|
* include/tr1/poly_laguerre.tcc: Ditto.
|
|
|
|
|
* include/tr1/riemann_zeta.tcc: Ditto.
|
|
|
|
|
* include/tr1/special_function_util.h: Ditto.
|
|
|
|
|
* testsuite/ext/special_functions/conf_hyperg: New.
|
|
|
|
|
* testsuite/ext/special_functions/conf_hyperg/check_nan.cc: New.
|
|
|
|
|
* testsuite/ext/special_functions/conf_hyperg/check_value.cc: New.
|
|
|
|
|
* testsuite/ext/special_functions/conf_hyperg/compile.cc: New.
|
|
|
|
|
* testsuite/ext/special_functions/hyperg: New.
|
|
|
|
|
* testsuite/ext/special_functions/hyperg/check_nan.cc: New.
|
|
|
|
|
* testsuite/ext/special_functions/hyperg/check_value.cc: New.
|
|
|
|
|
* testsuite/ext/special_functions/hyperg/compile.cc: New.
|
|
|
|
|
* testsuite/libstdc++-dg/conformance.exp: Add special_functions directory.
|
|
|
|
|
* testsuite/special_functions/01_assoc_laguerre/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/01_assoc_laguerre/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/01_assoc_laguerre/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/01_assoc_laguerre/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/02_assoc_legendre/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/02_assoc_legendre/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/02_assoc_legendre/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/02_assoc_legendre/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/03_beta/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/03_beta/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/03_beta/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/03_beta/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/04_comp_ellint_1/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/04_comp_ellint_1/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/04_comp_ellint_1/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/04_comp_ellint_1/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/05_comp_ellint_2/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/05_comp_ellint_2/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/05_comp_ellint_2/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/05_comp_ellint_2/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/06_comp_ellint_3/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/06_comp_ellint_3/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/06_comp_ellint_3/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/06_comp_ellint_3/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/07_cyl_bessel_i/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/07_cyl_bessel_i/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: New.
|
|
|
|
|
* testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/08_cyl_bessel_j/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/08_cyl_bessel_j/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/09_cyl_bessel_k/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/09_cyl_bessel_k/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/10_cyl_neumann/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/10_cyl_neumann/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/10_cyl_neumann/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/10_cyl_neumann/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/11_ellint_1/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/11_ellint_1/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/11_ellint_1/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/11_ellint_1/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/12_ellint_2/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/12_ellint_2/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/12_ellint_2/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/12_ellint_2/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/13_ellint_3/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/13_ellint_3/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/13_ellint_3/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/13_ellint_3/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/14_expint/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/14_expint/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/14_expint/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/14_expint/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/15_hermite/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/15_hermite/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/15_hermite/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/15_hermite/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/16_laguerre/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/16_laguerre/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/16_laguerre/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/16_laguerre/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/17_legendre/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/17_legendre/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/17_legendre/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/17_legendre/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/18_riemann_zeta/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/18_riemann_zeta/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/18_riemann_zeta/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/18_riemann_zeta/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/19_sph_bessel/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/19_sph_bessel/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/19_sph_bessel/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/19_sph_bessel/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/20_sph_legendre/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/20_sph_legendre/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/20_sph_legendre/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/20_sph_legendre/compile_2.cc: New.
|
|
|
|
|
* testsuite/special_functions/21_sph_neumann/check_nan.cc: New.
|
|
|
|
|
* testsuite/special_functions/21_sph_neumann/check_value.cc: New.
|
|
|
|
|
* testsuite/special_functions/21_sph_neumann/compile.cc: New.
|
|
|
|
|
* testsuite/special_functions/21_sph_neumann/compile_2.cc: New.
|
|
|
|
|
* testsuite/util/specfun_testcase.h: New.
|
|
|
|
|
* testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_value.cc: More testcases.
|
|
|
|
|
* testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc: Ditto.
|
|
|
|
|
* testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_value.cc: Ditto.
|
|
|
|
|
* testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_value.cc: Ditto.
|
|
|
|
|
* testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_value.cc: Ditto.
|
|
|
|
|
* testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_value.cc: Ditto.
|
|
|
|
|
* testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/check_value.cc: New.
|
|
|
|
|
|
2016-01-13 17:25:56 +01:00
|
|
|
|
2016-01-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/48891
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
|
|
|
|
|
and isnan functions.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* include/c_global/cmath (isinf(double), isnan(double))
|
|
|
|
|
[_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive.
|
|
|
|
|
* testsuite/26_numerics/headers/cmath/48891.cc: New.
|
|
|
|
|
|
2016-01-13 10:48:53 +01:00
|
|
|
|
2016-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/66006
|
|
|
|
|
* configure.host (abi_baseline_pair): Use separate baseline for
|
|
|
|
|
Solaris 11+ and Solaris 10 with gld.
|
|
|
|
|
* config/abi/post/solaris2.11/amd64/baseline_symbols.txt: New file.
|
|
|
|
|
* config/abi/post/solaris2.11/baseline_symbols.txt: New file.
|
|
|
|
|
* config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: New file.
|
|
|
|
|
|
2016-01-12 22:19:58 +01:00
|
|
|
|
2016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/68877
|
|
|
|
|
* include/std/type_traits: Following N4511, reimplement __is_swappable
|
|
|
|
|
and __is_nothrow_swappable. Move __is_swappable to namespace std,
|
|
|
|
|
adjust callers. Use __is_nothrow_swappable in swap.
|
|
|
|
|
* include/bits/move.h: Use __is_nothrow_swappable in swap.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove
|
|
|
|
|
__is_swappable related tests.
|
|
|
|
|
* testsuite/20_util/is_swappable/value.cc: New.
|
|
|
|
|
* testsuite/20_util/is_swappable/requirements/
|
|
|
|
|
explicit_instantiation.cc: New.
|
|
|
|
|
* testsuite/20_util/is_swappable/requirements/typedefs.cc: New.
|
|
|
|
|
* testsuite/25_algorithms/swap/68877.cc: New.
|
|
|
|
|
|
2016-01-12 15:54:33 +01:00
|
|
|
|
2016-01-12 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-01-12 20:39:47 +01:00
|
|
|
|
* testsuite/20_util/function/68995.cc: Test reference_wrapper cases.
|
|
|
|
|
|
2016-01-12 15:54:33 +01:00
|
|
|
|
PR libstdc++/69005
|
|
|
|
|
PR libstdc++/69222
|
|
|
|
|
* include/std/functional (function::_Invoke): Remove, use result_of.
|
|
|
|
|
(function::_Callable): Replace alias template with class template
|
|
|
|
|
and use partial specialization instead of _NotSelf alias template.
|
|
|
|
|
(function(_Functor)): Add "not self" constraint so that _Callable is
|
|
|
|
|
not used while type is incomplete.
|
|
|
|
|
* testsuite/20_util/function/69222.cc: New.
|
|
|
|
|
|
2016-01-11 17:47:58 +01:00
|
|
|
|
2016-01-11 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/60976
|
|
|
|
|
* include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>):
|
|
|
|
|
Define partial specialization.
|
|
|
|
|
* testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and
|
|
|
|
|
destroy members to std::allocator explicit specialization.
|
|
|
|
|
|
2016-01-08 14:14:01 +01:00
|
|
|
|
2016-01-08 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-01-08 15:59:36 +01:00
|
|
|
|
* testsuite/26_numerics/headers/cmath/
|
|
|
|
|
c99_classification_macros_c++.cc: Rename to ...
|
|
|
|
|
* testsuite/26_numerics/headers/cmath/
|
|
|
|
|
c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
|
|
|
|
|
* testsuite/26_numerics/headers/cmath/
|
|
|
|
|
c99_classification_macros_c++0x.cc: Rename to ...
|
|
|
|
|
* testsuite/26_numerics/headers/cmath/
|
|
|
|
|
c99_classification_macros_c++11.cc: Here.
|
|
|
|
|
|
2016-01-08 14:19:25 +01:00
|
|
|
|
PR libstdc++/69190
|
2016-01-08 14:14:01 +01:00
|
|
|
|
* include/bits/uses_allocator.h: Add missing include.
|
|
|
|
|
|
2016-01-07 16:01:33 +01:00
|
|
|
|
2016-01-07 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/69105
|
|
|
|
|
PR libstdc++/69106
|
|
|
|
|
PR libstdc++/69114
|
|
|
|
|
* include/bits/stl_iterator.h (back_insert_iterator,
|
|
|
|
|
front_insert_iterator, insert_iterator): Use __addressof (LWG 2324).
|
|
|
|
|
* include/bits/uses_allocator.h (__use_alloc): Use __addressof.
|
|
|
|
|
* include/std/future (__future::base::_State_baseV2::__setter):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/std/scoped_allocator (__outermost): Likewise.
|
|
|
|
|
* testsuite/20_util/scoped_allocator/69114.cc: New.
|
|
|
|
|
* testsuite/20_util/uses_allocator/69114.cc: New.
|
|
|
|
|
* testsuite/30_threads/promise/69106.cc: New.
|
|
|
|
|
|
2016-01-06 14:00:33 +01:00
|
|
|
|
2016-01-06 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2016-01-06 21:34:41 +01:00
|
|
|
|
PR libstdc++/69092
|
|
|
|
|
* include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
|
|
|
|
|
Remove _GLIBCXX_NOEXCEPT.
|
|
|
|
|
testsuite/21_strings/basic_string/cons/char/69092.cc: New.
|
|
|
|
|
|
2016-01-06 14:00:33 +01:00
|
|
|
|
* include/Makefile.am: Adjust.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* include/bits/mutex.h: Rename to bits/std_mutex.h.
|
|
|
|
|
* include/std/condition_variable: Adjust include.
|
|
|
|
|
* include/std/mutex: Likewise.
|
|
|
|
|
|
2016-01-04 15:30:50 +01:00
|
|
|
|
2016-01-04 Jakub Jelinek <jakub@redhat.com>
|
2015-01-05 13:33:28 +01:00
|
|
|
|
|
|
|
|
|
Update copyright years.
|
2015-01-02 17:50:45 +01:00
|
|
|
|
|
2016-01-04 15:30:50 +01:00
|
|
|
|
Copyright (C) 2016 Free Software Foundation, Inc.
|
2015-01-02 17:50:45 +01:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|