https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754
Egor Pugin <egor.pugin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[11][ice][modules] import |[11,12][ice][modules] |bits/stdc++.h and map |import bits/stdc++.h and | |map --- Comment #1 from Egor Pugin <egor.pugin at gmail dot com> --- 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 0x85abf1 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/tree.c:8701 0x6b6533 template_info_decl_check(tree_node const*, char const*, int, char const*) ../../gcc/cp/cp-tree.h:651 0x6b7c55 template_info_decl_check(tree_node const*, char const*, int, char const*) ../../gcc/cp/module.cc:10081 0x6b7c55 trees_out::get_merge_kind(tree_node*, depset*) ../../gcc/cp/module.cc:10070 0xa58cd9 trees_out::decl_value(tree_node*, depset*) ../../gcc/cp/module.cc:7501 0xa59e2b trees_out::decl_node(tree_node*, walk_kind) ../../gcc/cp/module.cc:8536 0xa5ae42 trees_out::tree_node(tree_node*) ../../gcc/cp/module.cc:9091 0xa5b18a trees_out::chained_decls(tree_node*) ../../gcc/cp/module.cc:4840 0xa5c219 trees_out::core_vals(tree_node*) ../../gcc/cp/module.cc:6060 0xa5ec14 trees_out::tree_node_vals(tree_node*) ../../gcc/cp/module.cc:7062 0xa5ec14 trees_out::tree_value(tree_node*) ../../gcc/cp/module.cc:8898 0xa5aca4 trees_out::tree_node(tree_node*) ../../gcc/cp/module.cc:9096 0xa5ed3c trees_out::write_function_def(tree_node*) ../../gcc/cp/module.cc:11352 0xa60f4c depset::hash::find_dependencies(module_state*) ../../gcc/cp/module.cc:13128 0xa61368 module_state::write(elf_out*, cpp_reader*) ../../gcc/cp/module.cc:17615 0xa62978 finish_module_processing(cpp_reader*) ../../gcc/cp/module.cc:19871 0x9f498b c_parse_final_cleanups() ../../gcc/cp/decl2.c:5218