This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39865] New: ICE in gfc_conv_scalarized_array_ref
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Apr 2009 12:41:21 -0000
- Subject: [Bug fortran/39865] New: ICE in gfc_conv_scalarized_array_ref
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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