[Bug fortran/45170] [F2003] allocatable character lengths

boschmann at tp1 dot physik.uni-siegen.de gcc-bugzilla@gcc.gnu.org
Tue Jul 12 13:51:00 GMT 2011


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

Hans-Werner Boschmann <boschmann at tp1 dot physik.uni-siegen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boschmann at tp1 dot
                   |                            |physik.uni-siegen.de

--- Comment #14 from Hans-Werner Boschmann <boschmann at tp1 dot physik.uni-siegen.de> 2011-07-12 13:51:08 UTC ---
I've got one more item for the TODO list:

character(:),allocatable::string
integer::length
length=5
allocate(character(len=length)::string)

This is not yet accepted by gfortran. Is there any other way to allocate
"string" without a primitive like string=repeat(" ",10)?



More information about the Gcc-bugs mailing list