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

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

Detected :


$ cat z3.f90
program p
   character(:), allocatable :: x, y
   x = 'abc'
   y = [x]
end


$ gfortran-9-20180610 -c z3.f90
z3.f90:4:3:

    y = [x]
   1
Error: Incompatible ranks 0 and 1 in assignment at (1)

Reply via email to