https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103701
Nathaniel Shead <nshead at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |nshead at gcc dot gnu.org
Target Milestone|--- |15.0
Resolution|--- |FIXED
--- Comment #5 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
I tried cloning the linked github repository, and the following sequence of
commands (after renaming `main` to `main_impl`) compiled successfully:
g++-15 -fmodules-ts -std=c++20 -c source/getvarsfromfile.cxx
g++-15 -fmodules-ts -std=c++20 -c source/languages.cxx
g++-15 -fmodules-ts -std=c++20 -c source/output.cxx
g++-15 -fmodules-ts -std=c++20 -c source/server.cxx
g++-15 -fmodules-ts -std=c++20 -c source/wizard.cxx
g++-15 -fmodules-ts -std=c++20 -c source/installer.cxx
g++-15 -fmodules-ts -std=c++20 -c source/hajime.cpp
So this issue was indeed fixed at some point. To be on the safe side I'll say
fixed for GCC 15, as I haven't done a bisect to work out when exactly the
described error was fixed (which is complicated by a checking-only ICE exposed
here that was fixed in r15-4943).