[Bug fortran/83864] ICE in gfc_apply_init, at fortran/expr.c:4271

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Mon Jan 15 17:20:00 GMT 2018


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

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

Works outside of a type :

$ cat z2.f90
program p
   character :: c(3) = transfer('abc','z',3)
   print *, c
end

$ gfortran-8-20180114 z2.f90 -static-libgfortran
$ a.out
 abc


More information about the Gcc-bugs mailing list