This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/40275] New: -combine should work for Fortran
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2009 17:45:47 -0000
- Subject: [Bug driver/40275] New: -combine should work for Fortran
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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