aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/count_2_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/count_2_l.c')
-rw-r--r--libgfortran/generated/count_2_l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/count_2_l.c b/libgfortran/generated/count_2_l.c
index fe83426..e316bbb 100644
--- a/libgfortran/generated/count_2_l.c
+++ b/libgfortran/generated/count_2_l.c
@@ -97,7 +97,7 @@ count_2_l (gfc_array_i2 * const restrict retarray,
}
retarray->offset = 0;
- retarray->dtype = (array->dtype & ~GFC_DTYPE_RANK_MASK) | rank;
+ GFC_DTYPE_COPY_SETRANK(retarray,array,rank);
alloc_size = GFC_DESCRIPTOR_STRIDE(retarray,rank-1) * extent[rank-1];