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-profile.c | |
parent | 4856a1f0a1b91d2917ab09b08c55ff4fbf66f94e (diff) | |
download | gcc-aa00059cffcaf09573f37b64351a550ba6904594.zip gcc-aa00059cffcaf09573f37b64351a550ba6904594.tar.gz gcc-aa00059cffcaf09573f37b64351a550ba6904594.tar.bz2 |
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-profile.c')
-rw-r--r-- | gcc/tree-profile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 2b11554..0d33c87 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -296,7 +296,7 @@ gimple_gen_interval_profiler (histogram_value value, unsigned tag, unsigned base value->hdata.intvl.steps); ref_ptr = force_gimple_operand_gsi (&gsi, - build_addr (ref, current_function_decl), + build_addr (ref), true, NULL_TREE, true, GSI_SAME_STMT); val = prepare_instrumented_value (&gsi, value); call = gimple_build_call (tree_interval_profiler_fn, 4, @@ -415,8 +415,7 @@ gimple_gen_ic_func_profiler (void) (ENTRY_BLOCK_PTR_FOR_FN (cfun)))); cur_func = force_gimple_operand_gsi (&gsi, - build_addr (current_function_decl, - current_function_decl), + build_addr (current_function_decl), true, NULL_TREE, true, GSI_SAME_STMT); tree_uid = build_int_cst |