[Bug fortran/86110] ICE in gfc_resolve_character_array_constructor, at fortran/array.c:2044
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Jun 11 19:22:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86110
--- Comment #1 from G. Steinmetz <gscfq@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)
More information about the Gcc-bugs
mailing list