https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116754
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:83c6fe130a00c6c28cfffcc787a0a719966adfaf commit r15-3775-g83c6fe130a00c6c28cfffcc787a0a719966adfaf 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.