From: François Dumont Date: Mon, 21 May 2018 16:51:47 +0000 (+0000) Subject: re PR libstdc++/85845 (Many libstdc++ test failures) X-Git-Tag: upstream/12.2.0~31710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b6d2d3bbf13d0d48128f381d1092d4c36d356c2;p=platform%2Fupstream%2Fgcc.git re PR libstdc++/85845 (Many libstdc++ test failures) 2018-05-21 François Dumont PR libstdc++/85845 * include/bits/stl_tree.h (_Rb_tree_impl(_Rb_tree_impl&&, _Node_allocator&&)): Fix noexcept qualification. From-SVN: r260478 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 78f5df6..eb77a79 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2018-05-21 François Dumont + + PR libstdc++/85845 + * include/bits/stl_tree.h + (_Rb_tree_impl(_Rb_tree_impl&&, _Node_allocator&&)): Fix noexcept + qualification. + 2018-05-21 Jonathan Wakely * src/filesystem/std-ops.cc (absolute): Report an error for empty diff --git a/libstdc++-v3/include/bits/stl_tree.h b/libstdc++-v3/include/bits/stl_tree.h index 85f190a..b87d614 100644 --- a/libstdc++-v3/include/bits/stl_tree.h +++ b/libstdc++-v3/include/bits/stl_tree.h @@ -980,7 +980,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION public: _Rb_tree(_Rb_tree&& __x, _Node_allocator&& __a) noexcept( noexcept( - _Rb_tree(std::declval<_Rb_tree>(), std::declval<_Node_allocator>(), + _Rb_tree(std::declval<_Rb_tree&&>(), std::declval<_Node_allocator&&>(), std::declval())) ) : _Rb_tree(std::move(__x), std::move(__a), typename _Alloc_traits::is_always_equal{})