https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111785
--- Comment #2 from Luis Caro Campos <mends-sputter.0z at icloud dot com> --- Thanks Patrick for looking into this. I think your message got cut off? I've removed the calls to the GCC optimize pragmas, and still get an ICE: src/fmt.cc:71:8: internal compiler error: in insert, at cp/module.cc:4920 71 | export module fmt; | ^ 0x9a371f trees_out::insert(tree_node*, walk_kind) ../../gcc/cp/module.cc:4920 0x9a6e37 trees_out::decl_node(tree_nod This time the error references a different line of the same module.cc file, in case that is relevant.