summaryrefslogtreecommitdiff
path: root/libgfortran/generated/minloc0_16_r4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/minloc0_16_r4.c')
-rw-r--r--libgfortran/generated/minloc0_16_r4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/generated/minloc0_16_r4.c b/libgfortran/generated/minloc0_16_r4.c
index 37e877b8c1e..ab679736997 100644
--- a/libgfortran/generated/minloc0_16_r4.c
+++ b/libgfortran/generated/minloc0_16_r4.c
@@ -58,7 +58,7 @@ minloc0_16_r4 (gfc_array_i16 * const restrict retarray,
GFC_DIMENSION_SET(retarray->dim[0], 0, rank-1, 1);
retarray->dtype = (retarray->dtype & ~GFC_DTYPE_RANK_MASK) | 1;
retarray->offset = 0;
- retarray->base_addr = internal_malloc_size (sizeof (GFC_INTEGER_16) * rank);
+ retarray->base_addr = xmalloc (sizeof (GFC_INTEGER_16) * rank);
}
else
{
@@ -199,7 +199,7 @@ mminloc0_16_r4 (gfc_array_i16 * const restrict retarray,
GFC_DIMENSION_SET(retarray->dim[0], 0, rank - 1, 1);
retarray->dtype = (retarray->dtype & ~GFC_DTYPE_RANK_MASK) | 1;
retarray->offset = 0;
- retarray->base_addr = internal_malloc_size (sizeof (GFC_INTEGER_16) * rank);
+ retarray->base_addr = xmalloc (sizeof (GFC_INTEGER_16) * rank);
}
else
{
@@ -367,7 +367,7 @@ sminloc0_16_r4 (gfc_array_i16 * const restrict retarray,
GFC_DIMENSION_SET(retarray->dim[0], 0, rank-1, 1);
retarray->dtype = (retarray->dtype & ~GFC_DTYPE_RANK_MASK) | 1;
retarray->offset = 0;
- retarray->base_addr = internal_malloc_size (sizeof (GFC_INTEGER_16) * rank);
+ retarray->base_addr = xmalloc (sizeof (GFC_INTEGER_16) * rank);
}
else if (unlikely (compile_options.bounds_check))
{