http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47425
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> --- Another example. Note in particular the case n==0. The following program should print: :: a:d:f ab:de:fg abc:de :fgh It does so with ifort (and except for n==0 also with crayftn). However, with gfortran one gets at compile time: error: size of variable 'A.1' is too large subroutine test(n) integer :: n print '(3(a:":"))', [ character(len=n) :: "abc", "de", "fghijkl" ] end subroutine call test(0) call test(1) call test(2) call test(3) end