https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109419
Bug ID: 109419 Summary: [modules] ICE: Segmentation fault when using -fmodules-ts and -g Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pap...@gmx.de Target Milestone: --- compiling -8x-------8x-------8x-------8x------- #include <set> struct A { A() { s.insert(1); } std::set<int> s; }; #include <unordered_map> -8x-------8x-------8x-------8x------- as test.cpp with g++ -ggdb -std=c++20 -fmodules-ts -freport-bug -c test.cpp leads to an segmentation fault: internal compiler error: Segmentation fault signal terminated program cc1plus