Tested x86_64-pc-linux-gnu, applying to trunk as obvious. -- 8< --
The return seems to have been lost in the r15-1858 RAII overhaul. libstdc++-v3/ChangeLog: * include/bits/stl_uninitialized.h (__uninitialized_move_copy): Add missing return. --- libstdc++-v3/include/bits/stl_uninitialized.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/include/bits/stl_uninitialized.h b/libstdc++-v3/include/bits/stl_uninitialized.h index a9965f26269..f663057b1a1 100644 --- a/libstdc++-v3/include/bits/stl_uninitialized.h +++ b/libstdc++-v3/include/bits/stl_uninitialized.h @@ -540,6 +540,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION __result = __mid; // Everything up to __mid is now guarded. __result = std::__uninitialized_copy_a(__first2, __last2, __mid, __alloc); __guard.release(); + return __result; } // __uninitialized_fill_move base-commit: 7b500fa34ad88d5fdd4bf74eb2737b214749075b -- 2.46.0