summaryrefslogtreecommitdiff
path: root/libgfortran/generated/matmul_l4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/matmul_l4.c')
-rw-r--r--libgfortran/generated/matmul_l4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/matmul_l4.c b/libgfortran/generated/matmul_l4.c
index d464e620605..d901e3cd7d8 100644
--- a/libgfortran/generated/matmul_l4.c
+++ b/libgfortran/generated/matmul_l4.c
@@ -88,7 +88,7 @@ matmul_l4 (gfc_array_l4 * const restrict retarray,
}
retarray->base_addr
- = xmalloc (sizeof (GFC_LOGICAL_4) * size0 ((array_t *) retarray));
+ = xmallocarray (size0 ((array_t *) retarray), sizeof (GFC_LOGICAL_4));
retarray->offset = 0;
}
else if (unlikely (compile_options.bounds_check))