This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68442] New: ICE on kind specification, depending on ordering of functions
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Nov 2015 17:51:39 +0000
- Subject: [Bug fortran/68442] New: ICE on kind specification, depending on ordering of functions
- Auto-submitted: auto-generated
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: gerhard.steinmetz.fortran@t-online.de
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