The following error occurs in the November 9 snapshot version of gfortran. It applies to all platforms. I compile the following program:
INCLUDE 'anything' PROGRAM test_cg END PROGRAM test_cg The INCLUDE file can contain anything. I get the message: f951: internal compiler error: in end_source_file, at fortran/scanner.c:327 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. The error does not occur if I change the program to: INCLUDE 'anything' INCLUDE 'anything_2' PROGRAM test_cg END PROGRAM test_cg -- Summary: Error in November 9 version of gfortran when the first line in a source file is an INCLUDE statement Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: michael dot a dot richmond at nasa dot gov http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34084