trans.c (gfc_call_malloc, [...]): Simplify code.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 29 Aug 2015 08:03:01 +0000 (08:03 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 29 Aug 2015 08:03:01 +0000 (08:03 +0000)
commit107051a502a526a228793a8c09b863fde04e3001
tree505091674e258283906964680f760a0c9a00ad1d
parent3ff2d74e9cfb4342f610b058eab400d3fde55f56
trans.c (gfc_call_malloc, [...]): Simplify code.

* trans.c (gfc_call_malloc, gfc_allocate_using_malloc,
gfc_allocate_using_lib, gfc_allocate_allocatable,
gfc_call_realloc): Simplify code.
* trans-array.c (gfc_trans_allocate_array_storage,
gfc_trans_auto_array_allocation, gfc_conv_array_parameter): Do not
convert gfc_call_free() argument.
* trans-expr.c (gfc_conv_string_tmp, gfc_conv_procedure_call,
fcncall_realloc_result): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Likewise.

From-SVN: r227316
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans.c