summaryrefslogtreecommitdiff
path: root/libgfortran/generated/product_r8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/product_r8.c')
-rw-r--r--libgfortran/generated/product_r8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/product_r8.c b/libgfortran/generated/product_r8.c
index 3be015136e9..57e7008de9e 100644
--- a/libgfortran/generated/product_r8.c
+++ b/libgfortran/generated/product_r8.c
@@ -92,7 +92,7 @@ product_r8 (gfc_array_r8 *retarray, gfc_array_r8 *array, index_type *pdim)
= internal_malloc_size (sizeof (GFC_REAL_8)
* retarray->dim[rank-1].stride
* extent[rank-1]);
- retarray->base = 0;
+ retarray->offset = 0;
retarray->dtype = (array->dtype & ~GFC_DTYPE_RANK_MASK) | rank;
}
else
@@ -237,7 +237,7 @@ mproduct_r8 (gfc_array_r8 * retarray, gfc_array_r8 * array,
= internal_malloc_size (sizeof (GFC_REAL_8)
* retarray->dim[rank-1].stride
* extent[rank-1]);
- retarray->base = 0;
+ retarray->offset = 0;
retarray->dtype = (array->dtype & ~GFC_DTYPE_RANK_MASK) | rank;
}
else