diff options
Diffstat (limited to 'gcc-4.9/libgfortran/m4/matmul.m4')
-rw-r--r-- | gcc-4.9/libgfortran/m4/matmul.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/libgfortran/m4/matmul.m4 b/gcc-4.9/libgfortran/m4/matmul.m4 index 937daa829..e5f43e2d6 100644 --- a/gcc-4.9/libgfortran/m4/matmul.m4 +++ b/gcc-4.9/libgfortran/m4/matmul.m4 @@ -125,7 +125,7 @@ matmul_'rtype_code` ('rtype` * const restrict retarray, } retarray->base_addr - = xmalloc (sizeof ('rtype_name`) * size0 ((array_t *) retarray)); + = xmallocarray (size0 ((array_t *) retarray), sizeof ('rtype_name`)); retarray->offset = 0; } else if (unlikely (compile_options.bounds_check)) |