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

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code

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

Additionally a better/valid example :

$ cat z3.f90
program p
   type t
      character(:), allocatable :: c(:)
   end type
   type(t), allocatable :: x
   x = t(['abc', 'uvw'])
   associate (y => x%c(:)(:))
      print *, y
   end associate
end

# should print :
abcuvw

Reply via email to