[Bug fortran/88486] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3401
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Dec 13 17:03:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88486
--- Comment #1 from G. Steinmetz <gscfq@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
$
More information about the Gcc-bugs
mailing list