with -fwhole-file (and -fwhole-program) coming for Fortran, it would make sense to enable -combine for Fortran as well. This should be easy as Fortran -combine doesn't need any Fortran knowledge
gfortran -combine a.f90 b.f90 c.f90 is literally equivalent to cat a.f90 b.f90 c.f90 > tmp.f90 gfortran tmp.f90 things might be more complicated for .F90 (and similar) as the preprocessor needs to run before combining the files. -- Summary: -combine should work for Fortran Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40275