https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99330
Bug ID: 99330 Summary: module ICE with -std=c++2b Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- module; export module hello; export inline void greeter() { } cqwrteur@DESKTOP-DFHPDC1:/mnt/d/Desktop/hello$ g++ -c hello.cc -Ofast -std=c++20 -s -flto -march=native -std=c++2b -fmodules-ts hello.cc:2:8: internal compiler error: in get_cxx_dialect_name, at cp/name-lookup.c:7027 2 | export module hello; | ^~~~~~ emit.. -std=c++2b triggers fmodules-ts to ICE