https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104924
--- Comment #3 from Lorenzo Gomez <yunior.eury at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > C++ modules in GCC 11 (and it looks like 12 but some bugs have been fixed > there) is still considered experimental and your mileage on this feature > will varry. > > Note I have not checked to see if this has been fixed on the trunk for GCC > 12. Would like to report that I attempted to compile the same example on `gcc (GCC) 12.0.1 20220313 (experimental)` and it looks it has not been fixed yet. Hopefully it gets fixed soon.