Hi, the IMPORT statement of Fortran2003 is not yet implemented. Trying to use it provokes an ICE:
module gfcbug29_import integer, parameter :: dp = kind (1d0) interface subroutine foo (x) import :: dp real (kind=dp) :: x end subroutine foo end interface end module gfcbug29_import % gfortran -c -std=f2003 gfcbug29.f90 In file gfcbug29.f90:6 import :: dp 1 Error: Unclassifiable statement at (1) gfcbug29.f90:0: internal compiler error: Segmentation fault See the Fortran2003 draft, tables 2.1, 2.2, and section 12.3.2.1 about interface blocks. Cheers, -ha -- Summary: gfortran: IMPORT of f2003 not yet implemented, ICE 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 gmx dot de GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24549