diff options
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 c7aa62c..6781af4 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; |