[Patch, fortran] Use correct type for transferring array descriptor info to library
Janne Blomqvist
blomqvist.janne@gmail.com
Thu Jul 26 14:17:00 GMT 2007
Hi,
I plan to commit the following obvious patch in 24 hours unless someone
objects. The problem is that the array descriptor triplets for each
dimension (ubound, stride, lbound) are transferred as GFC_INTEGER_4
rather than as the correct array index type (typedeffed to ssize_t).
It's a rather obscure bug, surfacing only when doing namelist I/O on big
arrays on 64-bit platforms. But it's the right thing to do, so it should
be done.
--
Janne Blomqvist
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070726/641db3d1/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nml-desc.diff
Type: text/x-patch
Size: 1812 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070726/641db3d1/attachment.bin>
More information about the Fortran
mailing list