foo.F:

      program foo
#include "foo.h"
      end

foo.h:

c This is just a dummy include file for the -*- Fortran -*- preprocessor

% gfortran -c foo.F
Warning: foo.h:3: file foo.F left but not entered

-- 
           Summary: gfortran preprocessing regression: nonsense warning
                    about file left but not entered
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at hep dot tu-darmstadt dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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

Reply via email to