aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/eoshift3_16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/eoshift3_16.c')
-rw-r--r--libgfortran/generated/eoshift3_16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/eoshift3_16.c b/libgfortran/generated/eoshift3_16.c
index 88f6c29bf3f..018b640970f 100644
--- a/libgfortran/generated/eoshift3_16.c
+++ b/libgfortran/generated/eoshift3_16.c
@@ -89,7 +89,7 @@ eoshift3 (gfc_array_char * const restrict ret,
ret->base_addr = xmallocarray (arraysize, size);
ret->offset = 0;
- ret->dtype = array->dtype;
+ GFC_DTYPE_COPY(ret,array);
for (i = 0; i < GFC_DESCRIPTOR_RANK (array); i++)
{
index_type ub, str;