https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106826
--- Comment #8 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> --- The original reproducer now ICEs. I opened Bug 107033 for this. The tests added in https://gcc.gnu.org/g:32d8123cd6ce87acb557aec230e8359051316f9f uses a named module. My reproducer uses an importable header.