diff options
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 2ae9346b8b4..4294173acad 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -1449,7 +1449,6 @@ build_ref_for_offset (location_t loc, tree base, HOST_WIDE_INT offset, gcc_checking_assert (gsi); tmp = create_tmp_reg (build_pointer_type (TREE_TYPE (prev_base)), NULL); - add_referenced_var (tmp); tmp = make_ssa_name (tmp, NULL); addr = build_fold_addr_expr (unshare_expr (prev_base)); STRIP_USELESS_TYPE_CONVERSION (addr); @@ -1866,8 +1865,6 @@ create_access_replacement (struct access *access) tree repl; repl = create_tmp_var (access->type, "SR"); - add_referenced_var (repl); - if (TREE_CODE (access->type) == COMPLEX_TYPE || TREE_CODE (access->type) == VECTOR_TYPE) { @@ -4198,7 +4195,6 @@ get_replaced_param_substitute (struct ipa_parm_adjustment *adj) DECL_NAME (repl) = get_identifier (pretty_name); obstack_free (&name_obstack, pretty_name); - add_referenced_var (repl); adj->new_ssa_base = repl; } else @@ -4582,7 +4578,6 @@ sra_ipa_reset_debug_stmts (ipa_parm_adjustment_vec adjustments) SET_DECL_RTL (copy, 0); TREE_USED (copy) = 1; DECL_CONTEXT (copy) = current_function_decl; - add_referenced_var (copy); add_local_decl (cfun, copy); DECL_CHAIN (copy) = BLOCK_VARS (DECL_INITIAL (current_function_decl)); |