summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-intrinsic.c
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-29 08:03:01 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-29 08:03:01 +0000
commit1d5e34dd3f53d1a9678c39dbb0c2f83f825d4f79 (patch)
tree505091674e258283906964680f760a0c9a00ad1d /gcc/fortran/trans-intrinsic.c
parent5902cce53a2528fd01c1335158be8da9201340b4 (diff)
downloadgcc-1d5e34dd3f53d1a9678c39dbb0c2f83f825d4f79.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227316 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/trans-intrinsic.c')
-rw-r--r--gcc/fortran/trans-intrinsic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-intrinsic.c b/gcc/fortran/trans-intrinsic.c
index 554469efff0..35052bebb8e 100644
--- a/gcc/fortran/trans-intrinsic.c
+++ b/gcc/fortran/trans-intrinsic.c
@@ -6259,7 +6259,7 @@ gfc_conv_intrinsic_transfer (gfc_se * se, gfc_expr * expr)
/* Free the temporary. */
gfc_start_block (&block);
- tmp = gfc_call_free (convert (pvoid_type_node, source));
+ tmp = gfc_call_free (source);
gfc_add_expr_to_block (&block, tmp);
stmt = gfc_finish_block (&block);