summaryrefslogtreecommitdiff
path: root/libgfortran/generated/sum_i16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/sum_i16.c')
-rw-r--r--libgfortran/generated/sum_i16.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/generated/sum_i16.c b/libgfortran/generated/sum_i16.c
index 02d6cc86b1b..71bf01a209c 100644
--- a/libgfortran/generated/sum_i16.c
+++ b/libgfortran/generated/sum_i16.c
@@ -100,7 +100,7 @@ sum_i16 (gfc_array_i16 * const restrict retarray,
alloc_size = sizeof (GFC_INTEGER_16) * GFC_DESCRIPTOR_STRIDE(retarray,rank-1)
* extent[rank-1];
- retarray->base_addr = internal_malloc_size (alloc_size);
+ retarray->base_addr = xmalloc (alloc_size);
if (alloc_size == 0)
{
/* Make sure we have a zero-sized array. */
@@ -285,7 +285,7 @@ msum_i16 (gfc_array_i16 * const restrict retarray,
return;
}
else
- retarray->base_addr = internal_malloc_size (alloc_size);
+ retarray->base_addr = xmalloc (alloc_size);
}
else
@@ -445,7 +445,7 @@ ssum_i16 (gfc_array_i16 * const restrict retarray,
return;
}
else
- retarray->base_addr = internal_malloc_size (alloc_size);
+ retarray->base_addr = xmalloc (alloc_size);
}
else
{