diff options
Diffstat (limited to 'libgfortran/m4/ifunction.m4')
-rw-r--r-- | libgfortran/m4/ifunction.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/m4/ifunction.m4 b/libgfortran/m4/ifunction.m4 index 1cd30739cd5..613fbf5dad5 100644 --- a/libgfortran/m4/ifunction.m4 +++ b/libgfortran/m4/ifunction.m4 @@ -88,7 +88,7 @@ name`'rtype_qual`_'atype_code (rtype * const restrict retarray, alloc_size = sizeof (rtype_name) * 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. */ @@ -273,7 +273,7 @@ void return; } else - retarray->base_addr = internal_malloc_size (alloc_size); + retarray->base_addr = xmalloc (alloc_size); } else @@ -432,7 +432,7 @@ void return; } else - retarray->base_addr = internal_malloc_size (alloc_size); + retarray->base_addr = xmalloc (alloc_size); } else { |