https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117094

--- Comment #3 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:360db9ef594e7acaef5e9a19ad4208e8c122d822

commit r13-9123-g360db9ef594e7acaef5e9a19ad4208e8c122d822
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Sun Oct 13 22:48:43 2024 +0100

    libstdc++: Use std::move for iterator in ranges::fill [PR117094]

    Input iterators aren't required to be copyable.

    libstdc++-v3/ChangeLog:

            PR libstdc++/117094
            * include/bits/ranges_algobase.h (__fill_fn): Use std::move for
            iterator that might not be copyable.
            * testsuite/25_algorithms/fill/constrained.cc: Check
            non-copyable iterator with sized sentinel.

    (cherry picked from commit 03623fa91ff36ecb9faa3b55f7842a39b759594e)

Reply via email to