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

--- Comment #3 from CVS 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:6afa984f47e16e8bd958646d7407b74e61041f5d

commit r14-5085-g6afa984f47e16e8bd958646d7407b74e61041f5d
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Nov 1 15:01:22 2023 +0000

    libstdc++: Add assertion to std::string_view::remove_suffix [PR112314]

    libstdc++-v3/ChangeLog:

            PR libstdc++/112314
            * include/std/string_view (string_view::remove_suffix): Add
            debug assertion.
            *
testsuite/21_strings/basic_string_view/modifiers/remove_prefix/debug.cc:
            New test.
            *
testsuite/21_strings/basic_string_view/modifiers/remove_suffix/debug.cc:
            New test.

Reply via email to