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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Patrick Palka
<ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:8f5cda0e646822bbd01e642ed28a4f4f0cca8c59

commit r10-9907-g8f5cda0e646822bbd01e642ed28a4f4f0cca8c59
Author: Patrick Palka <ppa...@redhat.com>
Date:   Thu May 20 23:39:05 2021 -0400

    libstdc++: Fix access issue in iota_view::_Sentinel [PR100690]

    libstdc++-v3/ChangeLog:

            PR libstdc++/100690
            * include/std/ranges (iota_view::_Sentinel::_M_distance_from):
            Split out this member function from ...
            (iota_view::_Sentinel::operator-): ... here, for sake of access
            control.
            * testsuite/std/ranges/iota/iota_view.cc (test05): New test.

    (cherry picked from commit 317a38cd468d565dc8ce45c6da0dbccf38808f70)

Reply via email to