This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/72698] ICE in lhd_incomplete_type_error, at langhooks.c:205


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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---

This variant seems to work :


$ cat z3.f90
program p
   character(:), allocatable :: z
   allocate (z, source=repeat('', 4))
   print *, len(z), '  >>' // z // '<<'
end


$ gfortran-7-20160724 z3.f90
$ a.out
           0   >><<

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]