https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109536
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to GCC Commits from comment #5) > There are a few test failures in C++20 mode, which I'm unable to > explain. The _Safe_iterator::operator++() member gives errors for using > non-constexpr functions during constant evaluation, even though those > functions are guarded by std::is_constant_evaluated() checks. The same > code works fine for C++23 and up. This part is fixed by Patrick's commit.