Hi,
this valid program:
program dummy
integer,dimension(2) :: index=(/1,1/)
real,dimension(2) :: A=1.0
print*,A(index+1)
end program dummy
gives:
dummy.f90: In function �MAIN__�:
dummy.f90:6: fatal error: gfc_todo: Not Implemented: vector subscript
expressions
compilation terminated.
with gcc version 4.0.0 20050102
--
Summary: gfortran ICE on vector subscript expressions
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: panuzzo at pd dot astro dot it
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19239