https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120789
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Patrick Palka <[email protected]>: https://gcc.gnu.org/g:1b7d2aefd5f3f9425c1611b0a5944460a7479fb1 commit r14-12706-g1b7d2aefd5f3f9425c1611b0a5944460a7479fb1 Author: Patrick Palka <[email protected]> Date: Tue Jul 1 13:43:12 2025 -0400 libstdc++: Use ranges::iter_move in ranges::remove_if [PR120789] PR libstdc++/120789 libstdc++-v3/ChangeLog: * include/bits/ranges_algo.h (__remove_if_fn::operator()): Use ranges::iter_move(iter) instead of std::move(*iter). * testsuite/25_algorithms/remove_if/120789.cc: New test. Reviewed-by: Tomasz KamiÅski <[email protected]> Reviewed-by: Jonathan Wakely <[email protected]> (cherry picked from commit 17e9ae215f991f2f94fe480aee2404c508388b7c)
