diff options
Diffstat (limited to 'gcc/fortran/arith.c')
-rw-r--r-- | gcc/fortran/arith.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/arith.c b/gcc/fortran/arith.c index 8e6de30..bd32145 100644 --- a/gcc/fortran/arith.c +++ b/gcc/fortran/arith.c @@ -2413,7 +2413,7 @@ hollerith2representation (gfc_expr *result, gfc_expr *src) &src->where, gfc_typename(&result->ts)); } - result->representation.string = gfc_getmem (result_len + 1); + result->representation.string = XCNEWVEC (char, result_len + 1); memcpy (result->representation.string, src->representation.string, MIN (result_len, src_len)); |