https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751
--- Comment #10 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 61090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61090&action=edit Proposed fix to remove gcc/m2/gm2-libs/COROUTINES.mod The above patch removes gcc/m2/gm2-libs/COROUTINES.mod which is unnecessary as the accompanying gcc/m2/gm2-libs/COROUTINES.def is a definition for "C" module. The gcc/m2/gm2-libs/COROUTINES.def is minimal compared to its ISO counterpart. The gcc/m2/gm2-libs/COROUTINES.def cannot be removed as it satisfies the import requirements of gcc/m2/gm2-libs/RTint.mod for the PIM dialect. If removed then the ISO gcc/m2/gm2-libs-iso/COROUTINES.def will be picked up and all its dependant modules. Bootstrapped tested on x86_64. The patch removes file gcc/m2/gm2-libs/COROUTINES.mod and removes the single reference to this file in Make-lang.in