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