https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116317
Bug ID: 116317 Summary: [modules] checking ICE in type_node, at cp/module.cc:8693 on stream out Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- Created attachment 58889 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58889&action=edit smallish testcase Seen while building https://github.com/tcbrindle/flux as a module: $ g++ -std=c++20 -fmodules-ts flux.ii flux.ii:1:8: internal compiler error: in type_node, at cp/module.cc:9088 1 | export module flux; | ^~~~~~ gcc trunk, 14, 13 ICE (with --enable-checking=release), gcc 12 doesn't. Bisection points to r13-1210 but that likely just triggered a latent modules streaming issue. The testcase could use more reduction.