https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99237
Bug ID: 99237
Summary: [modules] internal compiler error: in write_macro_maps
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
CC: nathan at gcc dot gnu.org
Target Milestone: ---
g++ -std=c++20 -fmodules-ts -x c++-system-header ctime
g++ -std=c++20 -fmodules-ts -x c++-system-header regex
----------
/usr/local/include/c++/11.0.0/regex: internal compiler error: in
write_macro_maps, at cp/module.cc:16154
0x6dde3e module_state::write_macro_maps(elf_out*, location_map_info&,
module_state_config*, unsigned int*)
../../gcc/gcc/cp/module.cc:16154
0xa62fe8 module_state::write(elf_out*, cpp_reader*)
../../gcc/gcc/cp/module.cc:17771
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)