Reported by Harald Anlauf: --------------------------- 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: [F2003] IMPORT not implemented Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fxcoudert at gcc dot gnu dot org BugsThisDependsOn: 20585 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27546