https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117661
--- Comment #1 from Rimvydas (RJ) <rimvydas.jas at gmail dot com> --- On a side note, similar issue happens with MPI commons. .comm mpi_fortran_argv_null_,1,16 .comm mpi_fortran_argvs_null_,1,16 .comm mpi_fortran_bottom_,4,16 .comm mpi_fortran_errcodes_ignore_,4,16 .comm mpi_fortran_in_place_,4,16 .comm mpi_fortran_status_ignore_,24,16 .comm mpi_fortran_statuses_ignore_,24,16 .comm mpi_fortran_unweighted_,4,16 .comm mpi_fortran_weights_empty_,4,16 These reappear in asm listings in other sources importing such derived types, once produced bar.mod size reduces down to likely ~3MB. No reasonably sized testcase. Likely not a big issue.