I downloaded the December 6 version of gfortran from
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-linux.tar.gz and attempted
to compile the following file:

SUBROUTINE f1
INCLUDE "anything"
END SUBROUTINE f1
SUBROUTINE f2
INCLUDE "anything"
END SUBROUTINE f2

The INCLUDE file can contain anything. I got the following message:

f.f90:1: internal compiler error: in change_file, at fortran/scanner.c:322
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in December 6 version of gfortran when compiling a
                    file with two routines that contain INCLUDE statements
           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=34359

Reply via email to