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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

https://gcc.gnu.org/g:4c994586cbd40a33f223aaaf90887afe97208543

commit r10-8409-g4c994586cbd40a33f223aaaf90887afe97208543
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Jul 1 21:01:15 2020 +0100

    libstdc++: Remove noexcept from match_results comparisons (PR 94627)

    These functions can't be noexcept because the iterators stored in the
    sub_match objects can throw on any operation.

    libstdc++-v3/ChangeLog:

            PR libstdc++/94627
            * include/bits/regex.h (operator==, operator!=): Remove noexcept
            equality comparisons for match_results.
            * testsuite/28_regex/match_results/94627.cc: New test.

    (cherry picked from commit a1a0dc4548979f8a340a7ea71624a52a20e1e0b3)

Reply via email to