aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Koenig <tkoenig@gcc.gnu.org>2010-10-16 18:47:55 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2010-10-16 18:47:55 +0000
commitd4d9b0a64193609249caa5db60afc6cb0bf50e2a (patch)
treea991f9576be150a390b1618181ee3a33ee5247a1
parent844db5d09eb972e4f9188b77854d76ce345ca9ee (diff)
downloadgcc-d4d9b0a64193609249caa5db60afc6cb0bf50e2a.zip
gcc-d4d9b0a64193609249caa5db60afc6cb0bf50e2a.tar.gz
gcc-d4d9b0a64193609249caa5db60afc6cb0bf50e2a.tar.bz2
trans-io.c (gfc_build_io_library_fndecls): Array descriptor arguments to transfer_array can be dereferenced recursively.
2010-10-16 Thomas Koenig <tkoenig@gcc.gnu.org> * trans-io.c (gfc_build_io_library_fndecls): Array descriptor arguments to transfer_array can be dereferenced recursively. From-SVN: r165561
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/trans-io.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index da01a0f..b3ff202 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,11 @@
2010-10-16 Thomas Koenig <tkoenig@gcc.gnu.org>
+ * trans-io.c (gfc_build_io_library_fndecls):
+ Array descriptor arguments to transfer_array can be
+ dereferenced recursively.
+
+2010-10-16 Thomas Koenig <tkoenig@gcc.gnu.org>
+
PR fortran/20165
PR fortran/31593
PR fortran/43665
diff --git a/gcc/fortran/trans-io.c b/gcc/fortran/trans-io.c
index 1c9ac2d..6a3428a 100644
--- a/gcc/fortran/trans-io.c
+++ b/gcc/fortran/trans-io.c
@@ -366,7 +366,7 @@ gfc_build_io_library_fndecls (void)
void_type_node, 3, dt_parm_type, pvoid_type_node, gfc_int4_type_node);
iocall[IOCALL_X_ARRAY] = gfc_build_library_function_decl_with_spec (
- get_identifier (PREFIX("transfer_array")), ".wW",
+ get_identifier (PREFIX("transfer_array")), ".ww",
void_type_node, 4, dt_parm_type, pvoid_type_node,
integer_type_node, gfc_charlen_type_node);