diff options
author | Richard Biener <rguenther@suse.de> | 2015-10-16 07:45:09 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-10-16 07:45:09 +0000 |
commit | aa00059cffcaf09573f37b64351a550ba6904594 (patch) | |
tree | 0dc728f8912f6ea1cdde81ca88179a73acf9bb5f /gcc/tree-parloops.c | |
parent | 4856a1f0a1b91d2917ab09b08c55ff4fbf66f94e (diff) |
tree-nested.h (build_addr): Adjust prototype.
2015-10-16 Richard Biener <rguenther@suse.de>
* tree-nested.h (build_addr): Adjust prototype.
* tree-nested.c (build_addr): Remove context argument and use
mark_addressable.
(get_static_chain): Adjust calls to build_addr.
(convert_nl_goto_reference): Likewise.
(convert_tramp_reference_op): Likewise.
(finalize_nesting_tree_1): Likewise.
* value-prof.c (gimple_ic): Likewise.
* gimple-low.c (lower_builtin_setjmp): Likewise.
* tree-parloops.c (take_address_of): Likewise.
(create_call_for_reduction_1): Likewise.
* tree-profile.c (gimple_gen_interval_profiler): Likewise.
(gimple_gen_ic_func_profiler): Likewise.
fortran/
* trans-intrinsic.c (gfc_conv_intrinsic_lib_function): Adjust
calls to build_addr.
(gfc_conv_intrinsic_mod): Likewise.
(gfc_conv_intrinsic_ctime): Likewise.
(gfc_conv_intrinsic_fdate): Likewise.
(gfc_conv_intrinsic_ttynam): Likewise.
(gfc_conv_intrinsic_minmax_char): Likewise.
(gfc_conv_intrinsic_index_scan_verify): Likewise.
(gfc_conv_intrinsic_trim): Likewise.
From-SVN: r228862
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r-- | gcc/tree-parloops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index c7aa62c0827..6781af45fcf 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -540,7 +540,7 @@ take_address_of (tree obj, tree type, edge entry, if (gsi == NULL) return build_fold_addr_expr_with_type (obj, type); - name = force_gimple_operand (build_addr (obj, current_function_decl), + name = force_gimple_operand (build_addr (obj), &stmts, true, NULL_TREE); if (!gimple_seq_empty_p (stmts)) gsi_insert_seq_before (gsi, stmts, GSI_SAME_STMT); @@ -1094,7 +1094,7 @@ create_call_for_reduction_1 (reduction_info **slot, struct clsn_data *clsn_data) load_struct = build_simple_mem_ref (clsn_data->load); t = build3 (COMPONENT_REF, type, load_struct, reduc->field, NULL_TREE); - addr = build_addr (t, current_function_decl); + addr = build_addr (t); /* Create phi node. */ bb = clsn_data->load_bb; |