aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgfortran/generated/eoshift1_16.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgfortran/generated/eoshift1_16.c')
-rw-r--r--gcc-4.9/libgfortran/generated/eoshift1_16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.9/libgfortran/generated/eoshift1_16.c b/gcc-4.9/libgfortran/generated/eoshift1_16.c
index 188589ff7..566d807b3 100644
--- a/gcc-4.9/libgfortran/generated/eoshift1_16.c
+++ b/gcc-4.9/libgfortran/generated/eoshift1_16.c
@@ -105,8 +105,8 @@ eoshift1 (gfc_array_char * const restrict ret,
GFC_DIMENSION_SET(ret->dim[i], 0, ub, str);
}
- /* xmalloc allocates a single byte for zero size. */
- ret->base_addr = xmalloc (size * arraysize);
+ /* xmallocarray allocates a single byte for zero size. */
+ ret->base_addr = xmallocarray (arraysize, size);
}
else if (unlikely (compile_options.bounds_check))