summaryrefslogtreecommitdiff
path: root/libgfortran/generated/any_l2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/any_l2.c')
-rw-r--r--libgfortran/generated/any_l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/any_l2.c b/libgfortran/generated/any_l2.c
index b6b86e5a745..2fd2c971634 100644
--- a/libgfortran/generated/any_l2.c
+++ b/libgfortran/generated/any_l2.c
@@ -97,7 +97,7 @@ any_l2 (gfc_array_l2 * const restrict retarray,
}
retarray->offset = 0;
- GFC_DTYPE_COPY_SETRANK(retarray,array,rank);
+ retarray->dtype.rank = rank;
alloc_size = GFC_DESCRIPTOR_STRIDE(retarray,rank-1) * extent[rank-1];