https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120112
--- Comment #3 from GCC 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:ccf0b93b3ccf67b98fbd5096852c369d2cac7904 commit r16-424-gccf0b93b3ccf67b98fbd5096852c369d2cac7904 Author: Jonathan Wakely <jwak...@redhat.com> Date: Tue May 6 12:47:32 2025 +0100 libstdc++: Fix -Wmismatched-tags warnings for _Safe_iterator [PR120112] This causes an ICE as shown in the PR, but it should be fixed in the library code anyway. libstdc++-v3/ChangeLog: PR c++/120112 * include/bits/ptr_traits.h (_Safe_iterator_base): Use class keyword in class-head of declaration. * include/debug/debug.h (_Safe_iterator): Likewise.