[Bug fortran/65677] Incomplete assignment on deferred-length character variable
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 22 18:44:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65677
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Hi John,
I appreciate that it is probably three and a half years too late but here is a
workaround:
replace
text = string
text = ADJUSTL(text(2:)) !***
with
allocate (text, source = ADJUSTL(string(2:)))
I am working on deferred string problems and so hope to have this one fixed in
the next few days.
Thank you for submitting this problem. I have poked at it several times since
submission but didn't find a solution. This time I am rather more determined.
Paul
More information about the Gcc-bugs
mailing list