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

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

https://gcc.gnu.org/g:317a38cd468d565dc8ce45c6da0dbccf38808f70

commit r12-958-g317a38cd468d565dc8ce45c6da0dbccf38808f70
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.

Reply via email to