https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99246
Bug ID: 99246 Summary: internal compiler error: in write_location, at cp/module.cc:15687 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- g++ -std=c++20 -fmodules-ts -x c++-system-header numbers g++ -std=c++20 -fmodules-ts -x c++-system-header ratio g++ -std=c++20 -fmodules-ts -x c++-system-header cstdio g++ -std=c++20 -fmodules-ts -x c++-system-header ostream g++ -std=c++20 -fmodules-ts -x c++-system-header coroutine g++ -std=c++20 -fmodules-ts -x c++-system-header barrier ---- /usr/local/include/c++/11.0.0/barrier: internal compiler error: in write_location, at cp/module.cc:15687 0x6ddcb3 module_state::write_location(bytes_out&, unsigned int) ../../gcc/gcc/cp/module.cc:15687 0xa5cbc9 trees_out::core_vals(tree_node*) ../../gcc/gcc/cp/module.cc:5912 0xa5dafc trees_out::tree_node_vals(tree_node*) ../../gcc/gcc/cp/module.cc:7166 0xa5dafc trees_out::fn_parms_init(tree_node*) ../../gcc/gcc/cp/module.cc:10067 0xa5aa96 trees_out::decl_value(tree_node*, depset*) ../../gcc/gcc/cp/module.cc:7763 0xa5b0bb trees_out::decl_node(tree_node*, walk_kind) ../../gcc/gcc/cp/module.cc:8624 0xa5c0b2 trees_out::tree_node(tree_node*) ../../gcc/gcc/cp/module.cc:9179 0xa611f0 module_state::write_cluster(elf_out*, depset**, unsigned int, depset::hash&, unsigned int*, unsigned int*) ../../gcc/gcc/cp/module.cc:14763 0xa62be8 module_state::write(elf_out*, cpp_reader*) ../../gcc/gcc/cp/module.cc:17734 0xa638fc finish_module_processing(cpp_reader*) ../../gcc/gcc/cp/module.cc:19860 0x9f72cb c_parse_final_cleanups() ../../gcc/gcc/cp/decl2.c:5175 ---- g++ (GCC) 11.0.0 20210223 (experimental)