module mod type t real :: v(50) end type t type (t), target, allocatable :: v1(:) integer :: v2, v3, v4 character(len=8), target, allocatable :: v5(:) end module mod
subroutine test use mod integer :: i write (*,v5(1:v3)) (v1(i)%v(v2), i=2, v4) end subroutine test ICEs in gfc_conv_scalarized_array_ref, se->loop is NULL, yet it is trying to read from se->loop->order[0]. ICEs with 4.1, 4.2, 4.3, 4.4 and trunk f951. -- Summary: ICE in gfc_conv_scalarized_array_ref Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39865