[Bug fortran/69861] New: ICE on declaring class parameter array
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Feb 17 19:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69861
Bug ID: 69861
Summary: ICE on declaring class parameter array
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
A code snippet with a parameter array :
$ cat z1.f90
program p
type t
character :: c
end type
class(t), parameter :: z(2) = t('a')
print *, z%c
end
$ gfortran-6 z1.f90
z1.f90:6:0:
print *, z%c
internal compiler error: in insert_component_ref, at fortran/class.c:86
More information about the Gcc-bugs
mailing list