[Bug fortran/69398] New: ICE on class with duplicate dimension attribute specified
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Jan 20 19:33:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69398
Bug ID: 69398
Summary: ICE on class with duplicate dimension attribute
specified
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: ---
With duplicate dimension attribute specified :
$ cat z1.f90
program p
type t
end type
class(t), allocatable :: z(:)
target :: z(:)
allocate (z(2))
end
$ gfortran-5.3.1 -c z1.f90
z1.f90:1:0:
program p
1
internal compiler error: in gfc_is_nodesc_array, at fortran/trans-types.c:1309
$ gfortran-6.0.0 -c z1.f90
...
internal compiler error: in gfc_conv_component_ref, at
fortran/trans-expr.c:2295
$ gfortran-4.9.0 -c z1.f90
...
z1.f90:1:0: internal compiler error: in gfc_is_nodesc_array, at
fortran/trans-types.c:1291
More information about the Gcc-bugs
mailing list