summaryrefslogtreecommitdiff
path: root/libgfortran/generated/all_l8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/all_l8.c')
-rw-r--r--libgfortran/generated/all_l8.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libgfortran/generated/all_l8.c b/libgfortran/generated/all_l8.c
index 3f418ccc45f..a58396381a5 100644
--- a/libgfortran/generated/all_l8.c
+++ b/libgfortran/generated/all_l8.c
@@ -75,8 +75,10 @@ __all_l8 (gfc_array_l8 * retarray, gfc_array_l8 *array, index_type *pdim)
retarray->dim[n].stride = retarray->dim[n-1].stride * extent[n-1];
}
- retarray->data = internal_malloc (sizeof (GFC_LOGICAL_8) *
- (retarray->dim[rank-1].stride * extent[rank-1]));
+ retarray->data
+ = internal_malloc_size (sizeof (GFC_LOGICAL_8)
+ * retarray->dim[rank-1].stride
+ * extent[rank-1]);
retarray->base = 0;
}