From 07d3cebe24d2923070ec831e8a05d9ba6e4dd5e8 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 6 Dec 2004 16:24:44 -0800 Subject: cshift0.c, [...]: Use internal_malloc_size instead of internal_malloc. * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c, intrinsics/pack_generic.c, intrinsics/string_intrinsics.c, intrinsics/transpose_generic.c, m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4, m4/transpose.m4: Use internal_malloc_size instead of internal_malloc. * generated/*: Rebuild. From-SVN: r91799 --- libgfortran/generated/maxloc1_8_r8.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libgfortran/generated/maxloc1_8_r8.c') diff --git a/libgfortran/generated/maxloc1_8_r8.c b/libgfortran/generated/maxloc1_8_r8.c index 0fba535..b221baa 100644 --- a/libgfortran/generated/maxloc1_8_r8.c +++ b/libgfortran/generated/maxloc1_8_r8.c @@ -77,8 +77,10 @@ __maxloc1_8_r8 (gfc_array_i8 * retarray, gfc_array_r8 *array, index_type *pdim) retarray->dim[n].stride = retarray->dim[n-1].stride * extent[n-1]; } - retarray->data = internal_malloc (sizeof (GFC_INTEGER_8) * - (retarray->dim[rank-1].stride * extent[rank-1])); + retarray->data + = internal_malloc_size (sizeof (GFC_INTEGER_8) + * retarray->dim[rank-1].stride + * extent[rank-1]); retarray->base = 0; } -- cgit v1.1