The following code ICEs: program sel implicit none integer,parameter :: n=1000 integer :: cste, i integer, dimension(n) :: vect=(/ (-i, i=1,n) /) cste = vect(1) end
t.f90: In function 'MAIN__': t.f90:6: internal compiler error: Possible frontend bug: array constructor not expanded Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: "Possible frontend bug: array constructor not expanded" Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20925