437f43cc78
PR libstdc++/67085 * include/bits/predefined_ops.h (_Iter_less_val, _Val_less_iter): Add converting constructors from _Iter_less_iter. (_Iter_comp_val, _Val_comp_iter): Add converting constructors from _Iter_comp_iter. (__iter_comp_val(_Iter_comp_iter<C>): Use converting constructor. (__val_comp_iter(_Iter_comp_iter<C>): Likewise. * include/bits/stl_heap.h (__is_heap_until, __push_heap, __pop_heap) (__make_heap, __sort_heap): Change _Compare parameters to references. (__is_heap, push_heap, __adjust_heap, __pop_heap, pop_heap) (__make_heap, make_heap, sort_heap, is_heap_until): Pass comparison functions as lvalues. (is_heap): Call __is_heap_until directly to avoid copying __comp. * testsuite/23_containers/priority_queue/67085.cc: Adjust test to count copies during construction with empty sequence. From-SVN: r244656
554 lines
22 KiB
Plaintext
554 lines
22 KiB
Plaintext
2017-01-19 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/67085
|
||
* include/bits/predefined_ops.h (_Iter_less_val, _Val_less_iter): Add
|
||
converting constructors from _Iter_less_iter.
|
||
(_Iter_comp_val, _Val_comp_iter): Add converting constructors from
|
||
_Iter_comp_iter.
|
||
(__iter_comp_val(_Iter_comp_iter<C>): Use converting constructor.
|
||
(__val_comp_iter(_Iter_comp_iter<C>): Likewise.
|
||
* include/bits/stl_heap.h (__is_heap_until, __push_heap, __pop_heap)
|
||
(__make_heap, __sort_heap): Change _Compare parameters to references.
|
||
(__is_heap, push_heap, __adjust_heap, __pop_heap, pop_heap)
|
||
(__make_heap, make_heap, sort_heap, is_heap_until): Pass comparison
|
||
functions as lvalues.
|
||
(is_heap): Call __is_heap_until directly to avoid copying __comp.
|
||
* testsuite/23_containers/priority_queue/67085.cc: Adjust test to
|
||
count copies during construction with empty sequence.
|
||
|
||
PR libstdc++/67085
|
||
* include/bits/stl_heap.h (__is_heap): Use _GLIBCXX_MOVE.
|
||
(__make_heap, __sort_heap): Don't use _GLIBCXX_MOVE inside loops.
|
||
* testsuite/23_containers/priority_queue/67085.cc: Adjust expected
|
||
number of copies.
|
||
* testsuite/25_algorithms/make_heap/movable.cc: New test.
|
||
|
||
PR libstdc++/67085
|
||
* include/bits/stl_heap.h (push_heap, __adjust_heap, __pop_heap)
|
||
(pop_heap, __make_heap, make_heap, __sort_heap, sort_heap): Use
|
||
_GLIBCXX_MOVE when passing comparison function to other functions.
|
||
(is_heap_until, is_heap): Use std::move when passing comparison
|
||
function.
|
||
* testsuite/23_containers/priority_queue/67085.cc: New test.
|
||
|
||
PR libstdc++/78905
|
||
* doc/xml/manual/abi.xml (abi.versioning.history): Add markup to
|
||
macro names, filenames, and literal values. Document _GLIBCXX_RELEASE.
|
||
Document that the deprecated _GLIBCXX_VERSION macro was removed for
|
||
the 4.0.0 release.
|
||
* doc/html/*: Regenerate.
|
||
* include/Makefile.am (_GLIBCXX_RELEASE): Set value.
|
||
* include/Makefile.in: Regenerate.
|
||
* include/bits/c++config (_GLIBCXX_RELEASE): Add #define.
|
||
* testsuite/ext/profile/mutex_extensions_neg.cc: Use lineno of 0 in
|
||
dg-error.
|
||
|
||
2017-01-18 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/69301
|
||
* include/std/atomic (atomic<T>::load, atomic<T>::exchange): Use
|
||
aligned buffer instead of default-initialized variable.
|
||
* testsuite/29_atomics/atomic/69301.cc: New test.
|
||
* include/experimental/memory (observer_ptr::release): Use reserved
|
||
name.
|
||
* include/ext/pointer.h (_Pointer_adapter::operator++(int))
|
||
(_Pointer_adapter::operator--(int)): Likewise.
|
||
|
||
PR libstdc++/68925
|
||
* include/experimental/random (randint): Use temporary instead of
|
||
thread_local static.
|
||
|
||
2017-01-17 Joshua Conner <joshconner@google.com>
|
||
|
||
* crossconfig.m4: Add fuchsia OS.
|
||
* configure: Regenerate.
|
||
|
||
2017-01-17 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/69699
|
||
* doc/xml/manual/abi.xml (abi.versioning.history): Explain why the
|
||
__GLIBCXX__ macro is not useful. Remove redundant date information
|
||
and link to the GCC release timeline.
|
||
(abi.versioning.active): Move partial sentence into the previous
|
||
paragraph.
|
||
* doc/html/*: Regenerate.
|
||
|
||
PR libstdc++/79114
|
||
* libsupc++/nested_exception.h (throw_with_nested): Use decay instead
|
||
of remove_reference.
|
||
* testsuite/18_support/nested_exception/79114.cc: New test.
|
||
|
||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
PR other/79046
|
||
* configure.ac: Add GCC_BASE_VER.
|
||
* fragment.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||
get version from BASE-VER file.
|
||
* po/Makefile.in: Regenerated.
|
||
* libsupc++/Makefile.in: Regenerated.
|
||
* testsuite/Makefile.in: Regenerated.
|
||
* src/Makefile.in: Regenerated.
|
||
* configure: Regenerated.
|
||
* Makefile.in: Regenerated.
|
||
* include/Makefile.in: Regenerated.
|
||
* doc/Makefile.in: Regenerated.
|
||
* python/Makefile.in: Regenerated.
|
||
* src/c++11/Makefile.in: Regenerated.
|
||
* src/c++98/Makefile.in: Regenerated.
|
||
* src/filesystem/Makefile.in: Regenerated.
|
||
|
||
2017-01-16 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/66145
|
||
* src/c++11/functexcept.cc: Use new ABI for std::ios_base::failure
|
||
exceptions.
|
||
* testsuite/27_io/basic_ios/copyfmt/char/1.cc: Don't override ABI
|
||
for test, so new ios::failure can be caught.
|
||
* testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
|
||
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
|
||
exceptions_failbit.cc: Likewise.
|
||
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
|
||
exceptions_failbit.cc: Likewise.
|
||
* testsuite/27_io/basic_istream/extractors_other/char/
|
||
exceptions_null.cc: Likewise.
|
||
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
|
||
exceptions_null.cc: Likewise.
|
||
* testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
|
||
* testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
|
||
* testsuite/27_io/basic_ostream/inserters_other/char/
|
||
exceptions_null.cc: Likewise.
|
||
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
|
||
exceptions_null.cc: Likewise.
|
||
* testsuite/27_io/ios_base/storage/2.cc: Likewise.
|
||
|
||
PR libstdc++/78702
|
||
* include/bits/locale_classes.h (locale::facet::__shim): Change from
|
||
private to protected.
|
||
* src/c++11/cxx11-shim_facets.cc (__shim_accessor): Define helper to
|
||
make locale::facet::__shim accessible.
|
||
|
||
2017-01-16 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||
|
||
PR libstdc++/78389
|
||
* include/bits/list.tcc (merge(list&&)): Fix backwards size adjustments.
|
||
(merge(list&&, _StrictWeakOrdering)): Likewise.
|
||
* testsuite/23_containers/list/operations/78389.cc: Add
|
||
better test for the sizes.
|
||
|
||
2017-01-14 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* testsuite/23_containers/array/specialized_algorithms/swap_cxx17.cc:
|
||
Skip test when -D_GLIBCXX_PROFILE mode is included in options.
|
||
* testsuite/23_containers/map/modifiers/extract.cc: Likewise.
|
||
* testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
|
||
Likewise.
|
||
* testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
|
||
* testsuite/23_containers/multimap/modifiers/extract.cc: Likewise.
|
||
* testsuite/23_containers/multiset/modifiers/extract.cc: Likewise.
|
||
* testsuite/23_containers/set/modifiers/extract.cc: Likewise.
|
||
* testsuite/23_containers/unordered_map/modifiers/extract.cc:
|
||
Likewise.
|
||
* testsuite/23_containers/unordered_multimap/modifiers/extract.cc::
|
||
Likewise.
|
||
* testsuite/23_containers/unordered_multiset/modifiers/extract.cc::
|
||
Likewise.
|
||
* testsuite/23_containers/unordered_set/modifiers/extract.cc:
|
||
Likewise.
|
||
* testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc:
|
||
Likewise.
|
||
* testsuite/25_algorithms/binary_search/partitioned.cc: Likewise.
|
||
* testsuite/25_algorithms/equal_range/partitioned.cc: Likewise.
|
||
* testsuite/25_algorithms/lexicographical_compare/71545.cc: Likewise.
|
||
* testsuite/25_algorithms/lower_bound/partitioned.cc: Likewise.
|
||
* testsuite/25_algorithms/upper_bound/partitioned.cc: Likewise.
|
||
* testsuite/libstdc++-prettyprinters/cxx11.cc: Likewise.
|
||
* testsuite/libstdc++-prettyprinters/cxx17.cc: Likewise.
|
||
* testsuite/libstdc++-prettyprinters/debug.cc: Likewise.
|
||
* testsuite/libstdc++-prettyprinters/debug_cxx11.cc: Likewise.
|
||
* testsuite/libstdc++-prettyprinters/libfundts.cc: Likewise.
|
||
* testsuite/libstdc++-prettyprinters/simple.cc: Likewise.
|
||
* testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.
|
||
* testsuite/libstdc++-prettyprinters/whatis.cc: Likewise.
|
||
|
||
2017-01-13 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/65411
|
||
* config/io/basic_file_stdio.cc (__basic_file<char>::close()): Don't
|
||
retry fclose on EINTR.
|
||
|
||
* include/profile/base.h: Remove unused header that leads to header
|
||
cycle in C++17 mode.
|
||
|
||
PR libstdc++/79075
|
||
* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string):
|
||
Make _If_sv private.
|
||
[!_GLIBCXX_USE_CXX11_ABI] (basic_string): Add member functions taking
|
||
basic_string_view arguments.
|
||
|
||
PR libstdc++/79075
|
||
* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Remove
|
||
redundant option from cxxflags.
|
||
(check_effective_target_cxx11-abi): Define.
|
||
* testsuite/21_strings/basic_string/allocator/71964.cc: Use cxx11-abi
|
||
effective target.
|
||
* testsuite/21_strings/basic_string/allocator/char/copy.cc: Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/char/minimal.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/char/move.cc: Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/char/move_assign.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/char/noexcept.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/char/swap.cc: Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/wchar_t/move.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc:
|
||
Likewise.
|
||
* testsuite/23_containers/list/61347.cc: Likewise.
|
||
* testsuite/27_io/basic_fstream/cons/base.cc: Likewise.
|
||
* testsuite/27_io/ios_base/failure/cxx11.cc: Likewise.
|
||
|
||
2017-01-13 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||
|
||
PR libstdc++/78389
|
||
* include/bits/list.tcc (merge(list&&)):
|
||
Adjust list sizes if the comparator throws.
|
||
(merge(list&&, _StrictWeakOrdering)): Likewise.
|
||
(sort()): Splice elements back from the scratch buffers
|
||
if the comparator throws.
|
||
(sort(_StrictWeakOrdering)): Likewise.
|
||
* testsuite/23_containers/list/operations/78389.cc: New.
|
||
|
||
2017-01-13 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Mark
|
||
XFAIL for C++17 until node reinsertion supports fancy pointers.
|
||
|
||
PR libstdc++/78361
|
||
* testsuite/20_util/add_pointer/value.cc: Test forming function
|
||
pointers.
|
||
|
||
2017-01-13 Michael Brune <lucdanton@free.fr>
|
||
|
||
PR libstdc++/78361
|
||
* include/std/type_traits (__is_referenceable): Handle noexcept
|
||
function types.
|
||
|
||
2017-01-12 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/77528
|
||
* include/bits/stl_queue.h (queue, priority_queue): Remove default
|
||
member-initializers and define default constructors as templates with
|
||
constraints.
|
||
* include/bits/stl_stack.h (stack): Likewise.
|
||
* testsuite/23_containers/priority_queue/requirements/constructible.cc:
|
||
New.
|
||
* testsuite/23_containers/priority_queue/requirements/
|
||
explicit_instantiation/1.cc: Test more instantiations.
|
||
* testsuite/23_containers/priority_queue/requirements/
|
||
explicit_instantiation/1_c++98.cc: Likewise.
|
||
* testsuite/23_containers/queue/requirements/constructible.cc: New.
|
||
* testsuite/23_containers/stack/requirements/constructible.cc: New.
|
||
|
||
PR libstdc++/66284
|
||
* doc/xml/manual/intro.xml: Document LWG 2781 change.
|
||
* doc/html/*: Regenerate.
|
||
* include/std/functional (_Function_base::_Ref_manager): Remove.
|
||
(_Function_handler): Remove partial specializations for
|
||
reference_wrapper.
|
||
(function::target): Remove special case for const qualification.
|
||
* testsuite/20_util/function/6.cc: Adjust tests for target type.
|
||
* testsuite/20_util/function/7.cc: Likewise.
|
||
* testsuite/20_util/function/8.cc: Likewise.
|
||
|
||
2017-01-11 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/78134
|
||
* include/bits/stl_map.h (map::lower_bound, map::upper_bound)
|
||
(map::equal_range): Fix return type of heterogeneous overloads.
|
||
* include/bits/stl_multimap.h (multimap::lower_bound)
|
||
(multimap::upper_bound, multimap::equal_range): Likewise.
|
||
* include/bits/stl_multiset.h (multiset::lower_bound)
|
||
(multiset::upper_bound, multiset::equal_range): Likewise.
|
||
* include/bits/stl_set.h (set::lower_bound, set::upper_bound)
|
||
(set::equal_range): Likewise.
|
||
* testsuite/23_containers/map/operations/2.cc
|
||
* testsuite/23_containers/multimap/operations/2.cc
|
||
* testsuite/23_containers/multiset/operations/2.cc
|
||
* testsuite/23_containers/set/operations/2.cc
|
||
|
||
PR libstdc++/78273
|
||
* include/bits/stl_map.h (map::count<_Kt>(const _Kt&)): Don't assume
|
||
the heterogeneous comparison can only find one match.
|
||
* include/bits/stl_set.h (set::count<_Kt>(const _Kt&)): Likewise.
|
||
* testsuite/23_containers/map/operations/2.cc: Test count works with
|
||
comparison function that just partitions rather than sorting.
|
||
* testsuite/23_containers/set/operations/2.cc: Likewise.
|
||
|
||
2017-01-11 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||
|
||
Reduce the size of variant, it doesn't need an index of
|
||
type size_t internally.
|
||
* include/std/variant (parse_numbers.h): New include.
|
||
(__select_index): New.
|
||
(_Variant_storage<false, _Types...>::_M_reset_impl): Use
|
||
_index_type for comparison with variant_npos.
|
||
(_Variant_storage<false, _Types...>::__index_type): New.
|
||
(_Variant_storage<false, _Types...>::_M_index): Change the
|
||
type from size_t to __index_type.
|
||
(_Variant_storage<true, _Types...>::__index_type): New.
|
||
(_Variant_storage<true, _Types...>::_M_index): Change the
|
||
type from size_t to __index_type.
|
||
(_Variant_base::_M_valid): Use _Storage::__index_type
|
||
for comparison with variant_npos.
|
||
(variant::index): Use _Base::_Storage::__index_type
|
||
for comparison with variant_npos.
|
||
* testsuite/20_util/variant/index_type.cc: New.
|
||
|
||
2017-01-10 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust
|
||
effective target selector to prevent running in C++17 mode.
|
||
|
||
PR libstdc++/77528
|
||
* include/bits/stl_queue.h (queue::c): Add default member initializer.
|
||
(queue::queue()): Add constructor and define as defaulted.
|
||
(queue::queue(_Sequence&&)): Remove default argument.
|
||
(priority_queue::c, priority_queue::comp): Add default member
|
||
initializers.
|
||
(priority_queue::priority_queue()): Add constructor and define as
|
||
defaulted.
|
||
(priority_queue::priority_queue(const _Compare&, _Sequence&&)):
|
||
Remove default argument for first parameter.
|
||
* include/bits/stl_stack.h (stack::c): Add default member initializer.
|
||
(stack::stack()): Add constructor and define as defaulted.
|
||
(stack::stack(const _Sequence&)): Remove default argument.
|
||
* testsuite/23_containers/priority_queue/requirements/
|
||
explicit_instantiation/1.cc: Test explicit instantiation with
|
||
non-DefaultConstructible sequence.
|
||
* testsuite/23_containers/priority_queue/77528.cc: New test.
|
||
* testsuite/23_containers/priority_queue/requirements/
|
||
explicit_instantiation/1_c++0x.cc: Replace with 1_c++98.cc.
|
||
* testsuite/23_containers/queue/77528.cc: New test.
|
||
* testsuite/23_containers/queue/requirements/explicit_instantiation/
|
||
1.cc: Test explicit instantiation with non-DefaultConstructible
|
||
sequence.
|
||
* testsuite/23_containers/queue/requirements/explicit_instantiation/
|
||
1_c++0x.cc: Replace with 1_c++98.cc.
|
||
* testsuite/23_containers/stack/77528.cc: New test.
|
||
* testsuite/23_containers/stack/requirements/explicit_instantiation/
|
||
1.cc: Test explicit instantiation with non-DefaultConstructible
|
||
sequence.
|
||
* testsuite/23_containers/stack/requirements/explicit_instantiation/
|
||
1_c++0x.cc: Replace with 1_c++98.cc.
|
||
|
||
2017-01-10 Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
|
||
|
||
* include/bits/locale_facets_nonio.tcc
|
||
(time_get::_M_extract_via_format): Avoid compilation errors with
|
||
non-standard struct tm.
|
||
|
||
2017-01-10 François Dumont <fdumont@gcc.gnu.org>
|
||
Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* python/libstdcxx/v6/printers.py (_versioned_namespace): Define.
|
||
(is_specialization, strip_versioned_namespace): New helpers functions
|
||
to work with symbols in the versioned namespace.
|
||
(Printer.add_version): Add second name using versioned namespace.
|
||
(add_one_template_type_printer, add_one_type_printer): Add second
|
||
type printers using versioned namespace.
|
||
(register_type_printers): Add template type printer for basic_string.
|
||
(build_libstdcxx_dictionary): Remove dead code.
|
||
* python/libstdcxx/v6/xmethods.py: Make all matchers look for
|
||
versioned namespace.
|
||
* testsuite/libstdc++-prettyprinters/48362.cc: Adjust expected
|
||
results.
|
||
* testsuite/libstdc++-prettyprinters/whatis.cc: Likewise.
|
||
|
||
2017-01-09 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/79017
|
||
* acinclude.m4 (GLIBCXX_CHECK_C99_TR1): Check for llrint and llround
|
||
functions separately on darwin and if they're missing define
|
||
_GLIBCXX_NO_C99_ROUNDING_FUNCS.
|
||
* config.h.in: Regenerate.
|
||
* configure: Regenerate.
|
||
* include/c_global/cmath [_GLIBCXX_NO_C99_ROUNDING_FUNCS] (llrint)
|
||
(llrintf, llrintl, llround, llroundf, llroundl): Do not define.
|
||
|
||
* testsuite/30_threads/condition_variable/members/3.cc: Use new macro
|
||
to detect correct thread_local destructors.
|
||
* testsuite/util/testsuite_hooks.h (CORRECT_THREAD_LOCAL_DTORS):
|
||
Define.
|
||
|
||
2017-01-09 Jonathan Wakely <jwakely@redhat.com>
|
||
Aditya Kumar <hiraditya@msn.com>
|
||
|
||
PR libstdc++/66414
|
||
* include/bits/basic_string.tcc
|
||
(basic_string::find(const CharT*, size_type, size_type)): Optimize.
|
||
|
||
2017-01-06 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* testsuite/21_strings/basic_string/operations/find/char/6.cc: New.
|
||
* testsuite/21_strings/basic_string/operations/find/wchar_t/6.cc: New.
|
||
|
||
* testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp:
|
||
Include <cassert> header.
|
||
|
||
PR libstdc++/78968
|
||
* crossconfig.m4: Check for __cxa_thread_atexit on *-*-freebsd*.
|
||
* configure: Regenerate.
|
||
|
||
2017-01-06 Barrett Adair <barrettellisadair@gmail.com>
|
||
Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* include/std/variant (variant, swap): Replace __and_ usage with fold
|
||
expressions.
|
||
|
||
2017-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||
|
||
PR go/78978
|
||
* acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Remove.
|
||
* configure.ac: Call GCC_CHECK_ASSEMBLER_HWCAP instead of
|
||
GLIBCXX_CHECK_ASSEMBLER_HWCAP.
|
||
* fragment.am (CONFIG_CXXFLAGS): Use HWCAP_CFLAGS instead of
|
||
HWCAP_FLAGS.
|
||
* aclocal.m4: Regenerate.
|
||
* configure: Regenerate.
|
||
* Makefile.in, doc/Makefile.in, include/Makefile.in,
|
||
libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
|
||
src/Makefile.in, src/c++11/Makefile.in, src/c++98/Makefile.in,
|
||
src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
|
||
|
||
2017-01-06 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* include/bits/c++config (_GLIBCXX_ASSERTIONS): Avoid redefinition.
|
||
|
||
PR libstdc++/78991
|
||
* include/bits/predefined_ops.h (_Iter_comp_iter, _Iter_comp_val)
|
||
(_Val_comp_iter, _Iter_equals_val, _Iter_pred, _Iter_comp_to_val)
|
||
(_Iter_comp_to_iter, _Iter_negate): Make constructors explicit and
|
||
move function objects.
|
||
(__iter_comp_iter, __iter_comp_val, __val_comp_iter, __pred_iter)
|
||
(__iter_comp_val, __iter_comp_iter, __negate): Move function objects.
|
||
* testsuite/25_algorithms/sort/78991.cc: New test.
|
||
|
||
2017-01-05 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* include/bits/std_function.h (function::_Signature_type): Remove.
|
||
(function::function(_Functor)): Adjust.
|
||
|
||
2017-01-05 Tim Shen <timshen@google.com>
|
||
|
||
PR libstdc++/78996
|
||
* include/std/variant (__gen_vtable_impl): rename __unused to
|
||
__dimensions to avoid naming conflict.
|
||
|
||
2017-01-04 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/78968
|
||
* config.h.in: Regenerate.
|
||
* configure: Likewise.
|
||
* configure.ac: Check for __cxa_thread_atexit.
|
||
* libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]:
|
||
Don't define __cxa_thread_atexit if libc provides it.
|
||
|
||
2017-01-04 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||
|
||
Implement 2801, Default-constructibility of unique_ptr.
|
||
* include/bits/unique_ptr.h (__uniq_ptr_impl::_DeleterConstraint): New.
|
||
(unique_ptr::_DeleterConstraint): Likewise.
|
||
(unique_ptr()): Constrain.
|
||
(unique_ptr(pointer)): Likewise.
|
||
(unique_ptr(nullptr_t)): Likewise.
|
||
(unique_ptr<_Tp[], _Dp>::_DeleterConstraint): New.
|
||
(unique_ptr<_Tp[], _Dp>::unique_ptr()): Constrain.
|
||
(unique_ptr<_Tp[], _Dp>::unique_ptr(_Up)): Likewise.
|
||
(unique_ptr<_Tp[], _Dp>::unique_ptr(nullptr_t)): Likewise.
|
||
* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust.
|
||
* testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Likewise.
|
||
* testsuite/20_util/unique_ptr/cons/default.cc: New.
|
||
* testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Adjust.
|
||
|
||
2017-01-04 Pauli Nieminen <suokkos@gmail.com>
|
||
Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/64735
|
||
* acinclude.m4 (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Define.
|
||
* config.h.in: Regenerate.
|
||
* config/abi/pre/gnu.ver [HAVE_EXCEPTION_PTR_SINCE_GCC46]
|
||
(GLIBCXX_3.4.15, GLIBCXX_3.4.21, CXXABI_1.3.3, CXXABI_1.3.5): Make
|
||
exports for exception_ptr, nested_exception, and future conditional.
|
||
[HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.23, CXXABI_1.3.11): Add
|
||
exports for exception_ptr, nested_exception, and future conditional.
|
||
* configure: Regenerate.
|
||
* configure.ac: Use GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER.
|
||
* include/std/future: Remove check for ATOMIC_INT_LOCK_FREE
|
||
* libsupc++/eh_atomics.h: New file for internal use only.
|
||
(__eh_atomic_inc, __eh_atomic_dec): New.
|
||
* libsupc++/eh_ptr.cc (exception_ptr::_M_addref)
|
||
(exception_ptr::_M_release) (__gxx_dependent_exception_cleanup)
|
||
(rethrow_exception): Use eh_atomics.h reference counting helpers.
|
||
* libsupc++/eh_throw.cc (__gxx_exception_cleanup): Likewise.
|
||
* libsupc++/eh_tm.cc (free_any_cxa_exception): Likewise.
|
||
* libsupc++/exception: Remove check for ATOMIC_INT_LOCK_FREE.
|
||
* libsupc++/exception_ptr.h: Likewise.
|
||
* libsupc++/guard.cc: Include header for ATOMIC_INT_LOCK_FREE macro.
|
||
* libsupc++/nested_exception.cc: Remove check for
|
||
ATOMIC_INT_LOCK_FREE.
|
||
* libsupc++/nested_exception.h: Likewise.
|
||
* src/c++11/future.cc: Likewise.
|
||
* testsuite/18_support/exception_ptr/*: Remove atomic builtins checks.
|
||
* testsuite/18_support/nested_exception/*: Likewise.
|
||
* testsuite/30_threads/async/*: Likewise.
|
||
* testsuite/30_threads/future/*: Likewise.
|
||
* testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise.
|
||
* testsuite/30_threads/packaged_task/*: Likewise.
|
||
* testsuite/30_threads/promise/*: Likewise.
|
||
* testsuite/30_threads/shared_future/*: Likewise.
|
||
|
||
2017-01-03 Gerald Pfeifer <gerald@pfeifer.com>
|
||
|
||
* doc/xml/manual/documentation_hacking.xml: sourceforge.net now
|
||
defaults to https; adjust reference.
|
||
|
||
2017-01-03 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/78956
|
||
* include/std/thread (thread(const thread&&)): Add deleted
|
||
constructor.
|
||
* testsuite/30_threads/thread/cons/lwg2097.cc: New test.
|
||
|
||
* doc/xml/manual/spine.xml: Update copyright years.
|
||
* doc/xml/manual/build_hacking.xml: Fix spelling of libbuilddir.
|
||
* doc/xml/manual/test.xml: Likewise.
|
||
* doc/html/*: Regenerate.
|
||
|
||
2017-01-01 Gerald Pfeifer <gerald@pfeifer.com>
|
||
|
||
* doc/xml/faq.xml: Update address of C++ ABI link.
|
||
* doc/xml/manual/abi.xml: Ditto.
|
||
|
||
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
Update copyright years.
|
||
|
||
Copyright (C) 2017 Free Software Foundation, Inc.
|
||
|
||
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.
|