diff options
Diffstat (limited to 'libgfortran/generated/sum_c4.c')
-rw-r--r-- | libgfortran/generated/sum_c4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgfortran/generated/sum_c4.c b/libgfortran/generated/sum_c4.c index 76f67afab26..a34e63cdd89 100644 --- a/libgfortran/generated/sum_c4.c +++ b/libgfortran/generated/sum_c4.c @@ -100,6 +100,7 @@ sum_c4 (gfc_array_c4 * const restrict retarray, alloc_size = sizeof (GFC_COMPLEX_4) * GFC_DESCRIPTOR_STRIDE(retarray,rank-1) * extent[rank-1]; + retarray->data = internal_malloc_size (alloc_size); if (alloc_size == 0) { /* Make sure we have a zero-sized array. */ @@ -107,8 +108,6 @@ sum_c4 (gfc_array_c4 * const restrict retarray, return; } - else - retarray->data = internal_malloc_size (alloc_size); } else { |