[Patch, fortran] PR51976 - [F2003] Support deferred-length character components of derived types (allocatable string length)
W Spector
w6ws@earthlink.net
Mon Mar 3 23:58:00 GMT 2014
On 03/01/2014 05:29 PM, Janus Weil wrote:
> ...
> Btw, there was quite some user feedback along the lines of "we want
> this feature", but there was not a lot of actual testing. So, if you
> are interested in this feature, please try the patch and report back
> here with things like "I tested it and it works great on my 100kLOC
> code" or "I tested it and found the following problem ..."
Today I downloaded the current trunk source, added the patch, and built
gfortran, gcc, and g++. My test case in the PR message #12 works fine.
I then compiled the latest version of ESMF
(http://earthsystemmodeling.org) which has about 450K lines of F90 code.
(A lot of it is preprocessor generated.) ESMF makes heavy use of F90
features. All the test codes worked fine.
Note that ESMF does not currently use deferred-length character strings.
So consider it a regression test, not a new feature test.
Walter
More information about the Fortran
mailing list