[Bug fortran/70071] New: ICE on wrong usage of a subscript triplet
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Mar 3 20:49:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70071
Bug ID: 70071
Summary: ICE on wrong usage of a subscript triplet
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 wrong usage of a subscript triplet :
$ cat z1.f90
program p
integer, allocatable :: z(:)[:,:]
allocate (z(2)[1::2,*])
end
$ gfortran-6 -fcoarray=single z1.f90
f951: internal compiler error: gfc_ref_dimen_size(): Bad dimension
$ cat z2.f90
program p
integer, allocatable :: z(:)[:,:]
allocate (z(2)[1:3:2,*])
end
$ gfortran-6 -fcoarray=single z2.f90
f951: internal compiler error: gfc_ref_dimen_size(): Bad dimension
More information about the Gcc-bugs
mailing list