https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116754
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:3c8142bd8677ac2fc4355a3e94ec7f2c421be13a commit r13-9122-g3c8142bd8677ac2fc4355a3e94ec7f2c421be13a Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Sep 18 17:47:49 2024 +0100 libstdc++: Fix condition for ranges::copy to use memmove [PR116754] libstdc++-v3/ChangeLog: PR libstdc++/116754 * include/bits/ranges_algobase.h (__copy_or_move): Fix order of arguments to __memcpyable. (cherry picked from commit 83c6fe130a00c6c28cfffcc787a0a719966adfaf)