https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68319
Bug ID: 68319
Summary: ICE on using interface with included entry
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
An interface declaration with an included entry :
$ cat z1.f90
module m
interface
subroutine s
entry e
end
end interface
contains
subroutine g
call s
end
end
$ gfortran -g -O0 -Wall -fcheck=all -c z1.f90
z1.f90:9:0:
call s
1
internal compiler error: in gfc_get_extern_function_decl, at
fortran/trans-decl.c:1776