https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88486
--- Comment #1 from G. Steinmetz <gs...@t-online.de> --- Compiles and runs when wrapped in a program : $ cat z2.f90 program p character(:), allocatable :: x(:) x = ['bcd'] x = ['a'//x//'e'] print *, size(x), len(x), x end $ gfortran-9-20181209 z2.f90 -static-libgfortran $ a.out 1 5 abcde $