This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/82215] New: Feature request to better support two pass compiling with gfortran


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82215

            Bug ID: 82215
           Summary: Feature request to better support two pass compiling
                    with gfortran
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: busby1 at llnl dot gov
  Target Milestone: ---

Created attachment 42174
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42174&action=edit
LLNL-TR-738243, five page technical report, four figures (PDF)

The term *two pass* fortran compiling means that in pass1, module files are
created, and in pass2, object files are generated.  I have developed an interim
method to carry out two pass compiles with gfortran.  The attached paper shows
how using the two pass approach on a 45,000 SLOC Fortran project speeds up our
compiles by almost a factor of four.  This is a huge improvement, as our code
is undergoing heavy development, with many daily compiles.

It would be most useful if the gfortran compiler had options that could
directly support two pass compiles.  We can accomplish the goal now by
"abusing" existing options, so it is certainly feasible.  Please see footnote
#6 on the last page of the attached document for suggestions about how this
feature request might be satisfied.

Thank you.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]