Another, shorter sequence: ---- g++ -std=c++20 -fmodules-ts -x c++-system-header new g++ -std=c++20 -fmodules-ts -x c++-system-header initializer_list g++ -std=c++20 -fmodules-ts -x c++-system-header typeinfo g++ -std=c++20 -fmodules-ts -x c++-system-header type_traits g++ -std=c++20 -fmodules-ts -x c++-system-header exception ---- /usr/local/include/c++/11.0.0/exception: internal compiler error: in write_cluster, at cp/module.cc:14600 0x6e2d56 module_state::write_cluster(elf_out*, depset**, unsigned int, depset::hash&, unsigned int*, unsigned int*) ../../gcc/gcc/cp/module.cc:14600 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
Another, shorter sequence: include/ c++/11. 0.0/exception: internal compiler error: in write_cluster, at cp/module.cc:14600 state:: write_cluster( elf_out* , depset**, unsigned int, depset::hash&, unsigned int*, unsigned int*) gcc/gcc/ cp/module. cc:14600 state:: write(elf_ out*, cpp_reader*) gcc/gcc/ cp/module. cc:17734 module_ processing( cpp_reader* ) gcc/gcc/ cp/module. cc:19860 final_cleanups( ) gcc/gcc/ cp/decl2. c:5175
----
g++ -std=c++20 -fmodules-ts -x c++-system-header new
g++ -std=c++20 -fmodules-ts -x c++-system-header initializer_list
g++ -std=c++20 -fmodules-ts -x c++-system-header typeinfo
g++ -std=c++20 -fmodules-ts -x c++-system-header type_traits
g++ -std=c++20 -fmodules-ts -x c++-system-header exception
----
/usr/local/
0x6e2d56 module_
../../
0xa62be8 module_
../../
0xa638fc finish_
../../
0x9f72cb c_parse_
../../