This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/72698] ICE in lhd_incomplete_type_error, at langhooks.c:205
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Jul 2016 19:06:35 +0000
- Subject: [Bug fortran/72698] ICE in lhd_incomplete_type_error, at langhooks.c:205
- Auto-submitted: auto-generated
- References: <bug-72698-4@http.gcc.gnu.org/bugzilla/>
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 >><<