aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/spread_c8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/spread_c8.c')
-rw-r--r--libgfortran/generated/spread_c8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/spread_c8.c b/libgfortran/generated/spread_c8.c
index 6887db1..09f371f 100644
--- a/libgfortran/generated/spread_c8.c
+++ b/libgfortran/generated/spread_c8.c
@@ -72,7 +72,7 @@ spread_c8 (gfc_array_c8 *ret, const gfc_array_c8 *source,
/* The front end has signalled that we need to populate the
return array descriptor. */
- ret->dtype = (source->dtype & ~GFC_DTYPE_RANK_MASK) | rrank;
+ GFC_DTYPE_COPY_SETRANK(ret,source,rrank);
dim = 0;
rs = 1;
for (n = 0; n < rrank; n++)