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.
Note this one and PR 20923, I found with the benchmark here: <http://www.idris.fr/data/publications/F95/test_F95_english.html> which is about f95 features.
Hmm, /* Problems occur when we get something like integer :: a(lots) = (/(i, i=1,lots)/) */ /* TODO: Unexpanded array initializers. */ internal_error ("Possible frontend bug: array constructor not expanded"); Shouldn't we just create a loop at this point?
*** Bug 21394 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 19925 ***