Preprocessing fortran files has some flaws (affects mainline and 4.0 branch):

1) Some command line arguments cause hiccups:

   gfortran -pipe -c test.F90
   yields
   f951: error: unrecognized command line option "-95"

   gfortran -pipe -c test.f90
   works

2) Files not cleaned up:

   gfortran -c test.F90
   leaves an empty .f file in the temp directory.
   This file is probably unused and shouldn't be generated at all.
   (This happens twice when building libgfortran.)

test.F90 and test.f90 can be arbitary valid fortran files.

-- 
           Summary: Preprocessing fortran files has some flaws
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21979

Reply via email to