aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2018-05-21 16:51:47 +0000
committerFrançois Dumont <fdumont@gcc.gnu.org>2018-05-21 16:51:47 +0000
commit8b6d2d3bbf13d0d48128f381d1092d4c36d356c2 (patch)
tree5564052f89383f8bdb68ec8623b5059b37756b14
parenta9221d820a24b7e00d2be4e16f2a77cfc7438aae (diff)
downloadgcc-8b6d2d3bbf13d0d48128f381d1092d4c36d356c2.zip
gcc-8b6d2d3bbf13d0d48128f381d1092d4c36d356c2.tar.gz
gcc-8b6d2d3bbf13d0d48128f381d1092d4c36d356c2.tar.bz2
re PR libstdc++/85845 (Many libstdc++ test failures)
2018-05-21 François Dumont <fdumont@gcc.gnu.org> PR libstdc++/85845 * include/bits/stl_tree.h (_Rb_tree_impl(_Rb_tree_impl&&, _Node_allocator&&)): Fix noexcept qualification. From-SVN: r260478
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/include/bits/stl_tree.h2
2 files changed, 8 insertions, 1 deletions
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 <fdumont@gcc.gnu.org>
+
+ PR libstdc++/85845
+ * include/bits/stl_tree.h
+ (_Rb_tree_impl(_Rb_tree_impl&&, _Node_allocator&&)): Fix noexcept
+ qualification.
+
2018-05-21 Jonathan Wakely <jwakely@redhat.com>
* 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<typename _Alloc_traits::is_always_equal>())) )
: _Rb_tree(std::move(__x), std::move(__a),
typename _Alloc_traits::is_always_equal{})