aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgfortran/m4/matmull.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgfortran/m4/matmull.m4')
-rw-r--r--gcc-4.9/libgfortran/m4/matmull.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/libgfortran/m4/matmull.m4 b/gcc-4.9/libgfortran/m4/matmull.m4
index 25bdc75b9..4be37d5a8 100644
--- a/gcc-4.9/libgfortran/m4/matmull.m4
+++ b/gcc-4.9/libgfortran/m4/matmull.m4
@@ -89,7 +89,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))