This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34084] New: Error in November 9 version of gfortran when the first line in a source file is an INCLUDE statement
- From: "michael dot a dot richmond at nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2007 16:36:45 -0000
- Subject: [Bug fortran/34084] New: Error in November 9 version of gfortran when the first line in a source file is an INCLUDE statement
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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