summaryrefslogtreecommitdiff
path: root/libgfortran/generated/reshape_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/reshape_i4.c')
-rw-r--r--libgfortran/generated/reshape_i4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/reshape_i4.c b/libgfortran/generated/reshape_i4.c
index a4c83adc386..6fa7b2f819d 100644
--- a/libgfortran/generated/reshape_i4.c
+++ b/libgfortran/generated/reshape_i4.c
@@ -115,7 +115,7 @@ reshape_4 (gfc_array_i4 * const restrict ret,
else
alloc_size = rs * sizeof (GFC_INTEGER_4);
- ret->base_addr = internal_malloc_size (alloc_size);
+ ret->base_addr = xmalloc (alloc_size);
ret->dtype = (source->dtype & ~GFC_DTYPE_RANK_MASK) | rdim;
}