[patch, fortran] Adjust fn spec for transfer_array
Thomas Koenig
tkoenig@netcologne.de
Sat Oct 16 16:39:00 GMT 2010
Hello world,
the attached one-letter patch fixes the fn spec for transfer_array,
because its array descriptor argument contains a pointer that can
(and will) be followed. I am not aware of any test case that this
fixes, but it is a latent bug which may be exposed by some test case, or
maybe be more aggressive optimization later.
2010-10-16 Thomas Koenig <tkoenig@gcc.gnu.org>
Regression-tested. OK for trunk?
Thomas
* trans-io.c (gfc_build_io_library_fndecls):
Array descriptor arguments to transfer_array can be
dereferenced recursively.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20101016/28e895de/attachment.bin>
More information about the Fortran
mailing list