https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238
Nathan Sidwell <nathan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2021-03-12 --- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> --- // pr99238.h struct tm; // pr99238_a.H #include "pr99238.h" // pr99238_b.H #include "pr99238.h" import "pr99238_a.H"; namespace std { using ::tm; } zathras:116>./cc1plus -quiet -fmodule-header pr99238_a.H && ./cc1plus -quiet -fmodule-header pr99238_b.H pr99238_b.H: internal compiler error: Segmentation fault 0x16c420a crash_signal ../../../src/gcc/toplev.c:327 0xcb70b2 trees_out::get_tag(tree_node*) ../../../src/gcc/cp/module.cc:4779 0xcc01d2 trees_out::ref_node(tree_node*) ../../../src/gcc/cp/module.cc:7086 0xcc93ab trees_out::tree_node(tree_node*) ../../../src/gcc/cp/module.cc:8974 0xcde8cf depset::hash::find_dependencies(module_state*) ../../../src/gcc/cp/module.cc:13114 0xceb673 module_state::write(elf_out*, cpp_reader*) ../../../src/gcc/cp/module.cc:17618