diff options
author | Mikael Morin <mikael@gcc.gnu.org> | 2011-11-03 21:28:26 +0000 |
---|---|---|
committer | Mikael Morin <mikael@gcc.gnu.org> | 2011-11-03 21:28:26 +0000 |
commit | f44d2277117c668c073ffde7732977699a221ceb (patch) | |
tree | 97fce364c6958438d4ec9bd82dbc376758edf3d1 /gcc/fortran/trans-expr.c | |
parent | 14bf3267a653e835acc208a30142cf6b2f9e2a09 (diff) | |
download | gcc-f44d2277117c668c073ffde7732977699a221ceb.zip gcc-f44d2277117c668c073ffde7732977699a221ceb.tar.gz gcc-f44d2277117c668c073ffde7732977699a221ceb.tar.bz2 |
trans-array.h (gfc_trans_create_temp_array): Replace info argument with ss argument.
* trans-array.h (gfc_trans_create_temp_array): Replace info argument
with ss argument.
* trans-array.c (gfc_trans_create_temp_array): Ditto. Get info from ss.
(gfc_trans_array_constructor, gfc_conv_loop_setup): Update call to
gfc_trans_create_temp_array.
* trans-expr.c (gfc_conv_procedure_call): Ditto.
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies): Ditto.
From-SVN: r180859
Diffstat (limited to 'gcc/fortran/trans-expr.c')
-rw-r--r-- | gcc/fortran/trans-expr.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/fortran/trans-expr.c b/gcc/fortran/trans-expr.c index 09b98d0..b2c1739 100644 --- a/gcc/fortran/trans-expr.c +++ b/gcc/fortran/trans-expr.c @@ -3602,8 +3602,9 @@ gfc_conv_procedure_call (gfc_se * se, gfc_symbol * sym, returns a pointer, the temporary will be a shallow copy and mustn't be deallocated. */ callee_alloc = comp->attr.allocatable || comp->attr.pointer; - gfc_trans_create_temp_array (&se->pre, &se->post, se->loop, info, tmp, - NULL_TREE, false, !comp->attr.pointer, + gfc_trans_create_temp_array (&se->pre, &se->post, se->loop, se->ss, + tmp, NULL_TREE, false, + !comp->attr.pointer, callee_alloc, &se->ss->expr->where); /* Pass the temporary as the first argument. */ @@ -3637,8 +3638,9 @@ gfc_conv_procedure_call (gfc_se * se, gfc_symbol * sym, returns a pointer, the temporary will be a shallow copy and mustn't be deallocated. */ callee_alloc = sym->attr.allocatable || sym->attr.pointer; - gfc_trans_create_temp_array (&se->pre, &se->post, se->loop, info, tmp, - NULL_TREE, false, !sym->attr.pointer, + gfc_trans_create_temp_array (&se->pre, &se->post, se->loop, se->ss, + tmp, NULL_TREE, false, + !sym->attr.pointer, callee_alloc, &se->ss->expr->where); /* Pass the temporary as the first argument. */ |