aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-05-24 09:57:38 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-05-24 09:57:38 +0000
commitb44be1e6cfcd00aa166e84d006232d9ddeda7b6f (patch)
treeebbc9c6b85ca9dc4e544489e3b66018190b65b53
parent1431ce016118027c4d36207852ce9281547db66a (diff)
downloadgcc-b44be1e6cfcd00aa166e84d006232d9ddeda7b6f.zip
gcc-b44be1e6cfcd00aa166e84d006232d9ddeda7b6f.tar.gz
gcc-b44be1e6cfcd00aa166e84d006232d9ddeda7b6f.tar.bz2
varpool.c (add_new_static_var): Remove call to create_var_ann.
2012-05-24 Richard Guenther <rguenther@suse.de> * varpool.c (add_new_static_var): Remove call to create_var_ann. * tree-ssa-operands.c (create_vop_var): Likewise. From-SVN: r187825
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-operands.c1
-rw-r--r--gcc/varpool.c1
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b817c58..5cd1531 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2012-05-24 Richard Guenther <rguenther@suse.de>
+ * varpool.c (add_new_static_var): Remove call to create_var_ann.
+ * tree-ssa-operands.c (create_vop_var): Likewise.
+
+2012-05-24 Richard Guenther <rguenther@suse.de>
+
PR bootstrap/53466
* tree-ssa-live.c (remove_unused_scope_block_p): Properly
handle globals.
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c
index d415ba2..1367e1b 100644
--- a/gcc/tree-ssa-operands.c
+++ b/gcc/tree-ssa-operands.c
@@ -177,7 +177,6 @@ create_vop_var (struct function *fn)
TREE_ADDRESSABLE (global_var) = 0;
VAR_DECL_IS_VIRTUAL_OPERAND (global_var) = 1;
- create_var_ann (global_var);
add_referenced_var_1 (global_var, fn);
fn->gimple_df->vop = global_var;
}
diff --git a/gcc/varpool.c b/gcc/varpool.c
index a1a2690..45cc4cc 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -457,7 +457,6 @@ add_new_static_var (tree type)
DECL_CONTEXT (new_decl) = NULL_TREE;
DECL_ABSTRACT (new_decl) = 0;
lang_hooks.dup_lang_specific_decl (new_decl);
- create_var_ann (new_decl);
new_node = varpool_node (new_decl);
add_referenced_var (new_decl);
varpool_finalize_decl (new_decl);