https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94627
--- Comment #1 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:a1a0dc4548979f8a340a7ea71624a52a20e1e0b3 commit r11-1770-ga1a0dc4548979f8a340a7ea71624a52a20e1e0b3 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.