[Bug fortran/51055] deferred length character allocation: allocate(character(len=i)::s) rejected

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 9 13:18:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51055

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-09 12:45:25 UTC ---
I also think that it is valid. However, I think there is already some bugreport
about this issue.

Stupid workaround: Replace
  allocate(character(len=i)::s)
by
  s = repeat(' ', i)



More information about the Gcc-bugs mailing list