[patch, fortran, RFC] Separate READ from WRITE

Thomas Koenig tkoenig@netcologne.de
Sun Oct 10 17:28:00 GMT 2010


Hello world,

this RFC patch separates reads from writes in Fortran, by establishing
separate transfer functions for writing, with a different spec.  For
now, the write functions just call the original transfer functions, with
the spec making all the difference.

Do you think this is the right approach?  Did I get the specs right (I
didn't find any documentation, but I may have missed something)?

This does speed up the test case from PR 31593, and should also at least
partially fix PR 20165.

No changelog yet, and a test case probably isn't needed.  I'm currently
regression-testing.  If there is general agreement, I think this could
still go into 4.6.

Comments?  Other/better ideas?

	Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p2.diff
Type: text/x-patch
Size: 11219 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20101010/2c7b62d6/attachment.bin>


More information about the Fortran mailing list