summaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-02 18:31:47 +0000
committermatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-02 18:31:47 +0000
commitbc83f58704de603dcd6863a3e2f9dcc994b6c14f (patch)
treeda6f6fbaadc0e51a49a926d72b946f5ff6ad2d7e /gcc/tree-sra.c
parent87ded6872697a5b3b114b23be7b41cac398df201 (diff)
downloadgcc-bc83f58704de603dcd6863a3e2f9dcc994b6c14f.tar.gz
PR middle-end/50260
* ipa-split.c (split_function): Call add_referenced_var. * tree-ssa-phiopt.c (cond_store_replacement): Don't call get_var_ann. (cond_if_else_store_replacement_1): Ditto. * tree-ssa-pre.c (get_representative_for): Ditto. (create_expression_by_pieces): Ditto. (insert_into_preds_of_block): Ditto. * tree-sra.c (create_access_replacement): Ditto. (get_replaced_param_substitute): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178489 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r--gcc/tree-sra.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index 2d97845ffe6..203c4823db5 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -1825,7 +1825,6 @@ create_access_replacement (struct access *access, bool rename)
tree repl;
repl = create_tmp_var (access->type, "SR");
- get_var_ann (repl);
add_referenced_var (repl);
if (rename)
mark_sym_for_renaming (repl);
@@ -4106,7 +4105,6 @@ get_replaced_param_substitute (struct ipa_parm_adjustment *adj)
DECL_NAME (repl) = get_identifier (pretty_name);
obstack_free (&name_obstack, pretty_name);
- get_var_ann (repl);
add_referenced_var (repl);
adj->new_ssa_base = repl;
}