aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/include/pstl/glue_algorithm_defs.h2
-rw-r--r--libstdc++-v3/include/pstl/utils.h4
-rw-r--r--libstdc++-v3/src/c++17/fs_path.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/adjacent_find/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/binary_search/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/clamp/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/equal/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/for_each/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/includes/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/is_heap/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/is_heap_until/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/is_permutation/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/is_sorted/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/is_sorted_until/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/lexicographical_compare_three_way/1.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/lower_bound/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/max/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/max_element/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/min/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/min_element/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/minmax_element/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/mismatch/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/move/93872.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/move_backward/93872.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/nth_element/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/partial_sort/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/search/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/search_n/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/set_difference/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/set_difference/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/set_intersection/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/set_intersection/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/set_symmetric_difference/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/set_union/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/set_union/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/sort/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/sort_heap/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/transform/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/unique/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/unique/constrained.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/unique_copy/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/upper_bound/constexpr.cc1
-rw-r--r--libstdc++-v3/testsuite/std/ranges/adaptors/elements.cc3
-rw-r--r--libstdc++-v3/testsuite/std/ranges/adaptors/lazy_split.cc1
-rw-r--r--libstdc++-v3/testsuite/std/ranges/adaptors/split.cc1
48 files changed, 50 insertions, 4 deletions
diff --git a/libstdc++-v3/include/pstl/glue_algorithm_defs.h b/libstdc++-v3/include/pstl/glue_algorithm_defs.h
index 48bc56a..cef78e2 100644
--- a/libstdc++-v3/include/pstl/glue_algorithm_defs.h
+++ b/libstdc++-v3/include/pstl/glue_algorithm_defs.h
@@ -10,7 +10,7 @@
#ifndef _PSTL_GLUE_ALGORITHM_DEFS_H
#define _PSTL_GLUE_ALGORITHM_DEFS_H
-#include <functional>
+#include <bits/stl_pair.h>
#include "execution_defs.h"
diff --git a/libstdc++-v3/include/pstl/utils.h b/libstdc++-v3/include/pstl/utils.h
index 1711f29..0e908f1 100644
--- a/libstdc++-v3/include/pstl/utils.h
+++ b/libstdc++-v3/include/pstl/utils.h
@@ -11,7 +11,7 @@
#define _PSTL_UTILS_H
#include <new>
-#include <iterator>
+#include <type_traits>
namespace __pstl
{
@@ -32,7 +32,7 @@ __except_handler(_Fp __f)
}
catch (...)
{
- std::terminate(); // Good bye according to the standard [algorithms.parallel.exceptions]
+ std::__terminate(); // Good bye according to the standard [algorithms.parallel.exceptions]
}
}
diff --git a/libstdc++-v3/src/c++17/fs_path.cc b/libstdc++-v3/src/c++17/fs_path.cc
index a44fa28..0470823 100644
--- a/libstdc++-v3/src/c++17/fs_path.cc
+++ b/libstdc++-v3/src/c++17/fs_path.cc
@@ -33,6 +33,7 @@
#include <filesystem>
#include <algorithm>
+#include <array>
#include <bits/stl_uninitialized.h>
namespace fs = std::filesystem;
diff --git a/libstdc++-v3/testsuite/25_algorithms/adjacent_find/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/adjacent_find/constexpr.cc
index d2a741e..772db23 100644
--- a/libstdc++-v3/testsuite/25_algorithms/adjacent_find/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/adjacent_find/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr std::array<int, 12> car{{0, 1, 2, 3, 4, 5, 6, 6, 8, 9, 9, 11}};
diff --git a/libstdc++-v3/testsuite/25_algorithms/binary_search/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/binary_search/constexpr.cc
index 733a18c..f7a5fa1 100644
--- a/libstdc++-v3/testsuite/25_algorithms/binary_search/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/binary_search/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/clamp/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/clamp/constrained.cc
index 41b1f67..5464dcf 100644
--- a/libstdc++-v3/testsuite/25_algorithms/clamp/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/clamp/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/equal/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/equal/constrained.cc
index ac03481..cab3552 100644
--- a/libstdc++-v3/testsuite/25_algorithms/equal/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/equal/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/for_each/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/for_each/constrained.cc
index 85044a1..9ffc33f 100644
--- a/libstdc++-v3/testsuite/25_algorithms/for_each/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/for_each/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/includes/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/includes/constrained.cc
index 1dd4312..a0ace5d 100644
--- a/libstdc++-v3/testsuite/25_algorithms/includes/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/includes/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/is_heap/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/is_heap/constexpr.cc
index 420ff94..a2e8e39 100644
--- a/libstdc++-v3/testsuite/25_algorithms/is_heap/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/is_heap/constexpr.cc
@@ -19,6 +19,7 @@
// { dg-do compile { target c++2a } }
#include <algorithm>
+#include <functional>
#include <array>
// heap
diff --git a/libstdc++-v3/testsuite/25_algorithms/is_heap_until/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/is_heap_until/constexpr.cc
index 53e991f..be316eb 100644
--- a/libstdc++-v3/testsuite/25_algorithms/is_heap_until/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/is_heap_until/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
// heap
constexpr std::array<int, 23>
diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/constrained.cc
index b5814a0..8d20136 100644
--- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <iterator>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/is_sorted/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/is_sorted/constexpr.cc
index e020d2e..422c1ce 100644
--- a/libstdc++-v3/testsuite/25_algorithms/is_sorted/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/is_sorted/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr std::array<int, 12> ca0{{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}};
diff --git a/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/constexpr.cc
index 161437e..b390633 100644
--- a/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constexpr.cc
index 855da0c..d695271 100644
--- a/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constrained.cc
index 708f3dd..ef904e6 100644
--- a/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare_three_way/1.cc b/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare_three_way/1.cc
index 48be0f6..16b7703 100644
--- a/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare_three_way/1.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare_three_way/1.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <array>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/lower_bound/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/lower_bound/constexpr.cc
index 6041ffc..8cd8fb9 100644
--- a/libstdc++-v3/testsuite/25_algorithms/lower_bound/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/lower_bound/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/max/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/max/constrained.cc
index bba8e80..10af2b1 100644
--- a/libstdc++-v3/testsuite/25_algorithms/max/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/max/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/max_element/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/max_element/constrained.cc
index 7139e37..a4291b2 100644
--- a/libstdc++-v3/testsuite/25_algorithms/max_element/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/max_element/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/min/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/min/constrained.cc
index 8bec9f9..405bf96 100644
--- a/libstdc++-v3/testsuite/25_algorithms/min/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/min/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/min_element/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/min_element/constrained.cc
index bc07e3f..94ec587 100644
--- a/libstdc++-v3/testsuite/25_algorithms/min_element/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/min_element/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax_element/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/minmax_element/constrained.cc
index f8785c4..df19923 100644
--- a/libstdc++-v3/testsuite/25_algorithms/minmax_element/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/minmax_element/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/mismatch/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/mismatch/constexpr.cc
index 3b4433c..f32c1a6 100644
--- a/libstdc++-v3/testsuite/25_algorithms/mismatch/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/mismatch/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/move/93872.cc b/libstdc++-v3/testsuite/25_algorithms/move/93872.cc
index b780126..4b0c810 100644
--- a/libstdc++-v3/testsuite/25_algorithms/move/93872.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/move/93872.cc
@@ -19,6 +19,7 @@
// { dg-do compile { target c++2a } }
#include <algorithm>
+#include <functional>
struct X
{
diff --git a/libstdc++-v3/testsuite/25_algorithms/move_backward/93872.cc b/libstdc++-v3/testsuite/25_algorithms/move_backward/93872.cc
index af1fd10..4dc51a1 100644
--- a/libstdc++-v3/testsuite/25_algorithms/move_backward/93872.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/move_backward/93872.cc
@@ -19,6 +19,7 @@
// { dg-do compile { target c++2a } }
#include <algorithm>
+#include <iterator>
struct X
{
diff --git a/libstdc++-v3/testsuite/25_algorithms/nth_element/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/nth_element/constexpr.cc
index 36b71e4..5bd424a 100644
--- a/libstdc++-v3/testsuite/25_algorithms/nth_element/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/nth_element/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/partial_sort/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/partial_sort/constexpr.cc
index 63ff97e..f24db97 100644
--- a/libstdc++-v3/testsuite/25_algorithms/partial_sort/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/partial_sort/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/constexpr.cc
index eca915f..c87b978 100644
--- a/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/search/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/search/constexpr.cc
index de0ff5d..a796a08 100644
--- a/libstdc++-v3/testsuite/25_algorithms/search/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/search/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/search_n/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/search_n/constrained.cc
index d91daf7..0ba12fe 100644
--- a/libstdc++-v3/testsuite/25_algorithms/search_n/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/search_n/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/set_difference/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/set_difference/constexpr.cc
index 5c520ec..0eb0f6a 100644
--- a/libstdc++-v3/testsuite/25_algorithms/set_difference/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/set_difference/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/set_difference/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/set_difference/constrained.cc
index b27d1c7..bee831f 100644
--- a/libstdc++-v3/testsuite/25_algorithms/set_difference/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/set_difference/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/set_intersection/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/set_intersection/constexpr.cc
index b561f18..15ee016 100644
--- a/libstdc++-v3/testsuite/25_algorithms/set_intersection/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/set_intersection/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/set_intersection/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/set_intersection/constrained.cc
index 39311f2..c80d040 100644
--- a/libstdc++-v3/testsuite/25_algorithms/set_intersection/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/set_intersection/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/set_symmetric_difference/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/set_symmetric_difference/constexpr.cc
index fc578cc..ee99344 100644
--- a/libstdc++-v3/testsuite/25_algorithms/set_symmetric_difference/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/set_symmetric_difference/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/set_union/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/set_union/constexpr.cc
index 8782113..e9a1cbf 100644
--- a/libstdc++-v3/testsuite/25_algorithms/set_union/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/set_union/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/set_union/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/set_union/constrained.cc
index f53827f..2e8a603 100644
--- a/libstdc++-v3/testsuite/25_algorithms/set_union/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/set_union/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/sort/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/sort/constexpr.cc
index b6a7129..2a55f3e 100644
--- a/libstdc++-v3/testsuite/25_algorithms/sort/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/sort/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/sort_heap/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/sort_heap/constexpr.cc
index b799f56..98c5f01 100644
--- a/libstdc++-v3/testsuite/25_algorithms/sort_heap/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/sort_heap/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/transform/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/transform/constrained.cc
index 1db4156..b3005d9 100644
--- a/libstdc++-v3/testsuite/25_algorithms/transform/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/transform/constrained.cc
@@ -19,6 +19,7 @@
// { dg-do run { target c++2a } }
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/unique/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/unique/constexpr.cc
index 7475ec7..384cec2 100644
--- a/libstdc++-v3/testsuite/25_algorithms/unique/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/unique/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/unique/constrained.cc b/libstdc++-v3/testsuite/25_algorithms/unique/constrained.cc
index f0fc3c3..2f0f687 100644
--- a/libstdc++-v3/testsuite/25_algorithms/unique/constrained.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/unique/constrained.cc
@@ -20,6 +20,7 @@
#include <list>
#include <algorithm>
+#include <functional>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/25_algorithms/unique_copy/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/unique_copy/constexpr.cc
index 200a5ce..bfa375c 100644
--- a/libstdc++-v3/testsuite/25_algorithms/unique_copy/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/unique_copy/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/25_algorithms/upper_bound/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/upper_bound/constexpr.cc
index 2e87bab..0735c60 100644
--- a/libstdc++-v3/testsuite/25_algorithms/upper_bound/constexpr.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/upper_bound/constexpr.cc
@@ -20,6 +20,7 @@
#include <algorithm>
#include <array>
+#include <functional>
constexpr bool
test()
diff --git a/libstdc++-v3/testsuite/std/ranges/adaptors/elements.cc b/libstdc++-v3/testsuite/std/ranges/adaptors/elements.cc
index 93a1c6d..30e4e41 100644
--- a/libstdc++-v3/testsuite/std/ranges/adaptors/elements.cc
+++ b/libstdc++-v3/testsuite/std/ranges/adaptors/elements.cc
@@ -20,9 +20,10 @@
#include <algorithm>
#include <ranges>
+#include <tuple>
+#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
-#include <tuple>
namespace ranges = std::ranges;
namespace views = ranges::views;
diff --git a/libstdc++-v3/testsuite/std/ranges/adaptors/lazy_split.cc b/libstdc++-v3/testsuite/std/ranges/adaptors/lazy_split.cc
index e46f76d..21c0837 100644
--- a/libstdc++-v3/testsuite/std/ranges/adaptors/lazy_split.cc
+++ b/libstdc++-v3/testsuite/std/ranges/adaptors/lazy_split.cc
@@ -22,6 +22,7 @@
#include <ranges>
#include <string>
#include <string_view>
+#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>
diff --git a/libstdc++-v3/testsuite/std/ranges/adaptors/split.cc b/libstdc++-v3/testsuite/std/ranges/adaptors/split.cc
index ca10608..a46f898 100644
--- a/libstdc++-v3/testsuite/std/ranges/adaptors/split.cc
+++ b/libstdc++-v3/testsuite/std/ranges/adaptors/split.cc
@@ -22,6 +22,7 @@
#include <ranges>
#include <string>
#include <string_view>
+#include <vector>
#include <testsuite_hooks.h>
#include <testsuite_iterators.h>