https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68442
Bug ID: 68442
Summary: ICE on kind specification, depending on ordering of
functions
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: ---
Using this order (f before g) :
$ cat z1.f90
module m
interface gkind
procedure g
end interface
contains
subroutine f(x)
character(kind=gkind()) :: x
end
integer function g()
g = 1
end
end
$ gfortran-5 -g -O0 -Wall -fcheck=all z1.f90
f951: internal compiler error: in gfc_arglist_matches_symbol, at
fortran/interface.c:3468