https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Egor Pugin from comment #1) > on g++-12 from master it gives > /usr/include/c++/11/x86_64-redhat-linux/bits/stdc++.h: internal compiler > error: tree check: expected var_decl or function_decl or field_decl or > type_decl or concept_decl or template_decl, have namespace_decl in > get_merge_kind, at cp/module.cc:10072 That is PR 102562.