https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99125

--- Comment #1 from G. Steinmetz <gs...@t-online.de> ---

Works with valid code :


$ cat z0.f90
program p
   type t
      character(:), allocatable :: c(:)
   end type
   character(8) :: a(2) = '12 45 78'
   type(t) :: x
   x%c = a
   print *, x%c
   print *, x%c(1)(7:8)
end


$ gfortran-11-20210214 z0.f90 && ./a.out
 12 45 7812 45 78
 78

Reply via email to