When I compile the module listed below using the version of gfortran for Linux
dated August 27 (downloaded from http://gcc.gnu.org/wiki/GFortranBinaries), I
get the following error:

p.f90: In function 'i':
p.f90:5: internal compiler error: in make_decl_rtl, at varasm.c:1263
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

MODULE print_it
CONTAINS
  SUBROUTINE i()
    LOGICAL :: qexist
    INQUIRE (UNIT=1, EXIST=qexist)
  END SUBROUTINE i
END MODULE print_it


-- 
           Summary: ICE in 20070827 version of gfortran when INQUIRE is in a
                    module
           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=33217

Reply via email to