summaryrefslogtreecommitdiff
path: root/gcc/varpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r--gcc/varpool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c
index 45cc4ccaf8d..487413ded6d 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -458,7 +458,6 @@ add_new_static_var (tree type)
DECL_ABSTRACT (new_decl) = 0;
lang_hooks.dup_lang_specific_decl (new_decl);
new_node = varpool_node (new_decl);
- add_referenced_var (new_decl);
varpool_finalize_decl (new_decl);
return new_node->symbol.decl;