diff options
Diffstat (limited to 'gcc/tree-emutls.c')
-rw-r--r-- | gcc/tree-emutls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-emutls.c b/gcc/tree-emutls.c index de71b23..d2cd4ea 100644 --- a/gcc/tree-emutls.c +++ b/gcc/tree-emutls.c @@ -260,7 +260,7 @@ get_emutls_init_templ_addr (tree decl) /* Create varpool node for the new variable and finalize it if it is not external one. */ if (DECL_EXTERNAL (to)) - varpool_node (to); + varpool_node_for_decl (to); else varpool_add_new_variable (to); return build_fold_addr_expr (to); @@ -332,7 +332,7 @@ new_emutls_decl (tree decl, tree alias_of) /* Create varpool node for the new variable and finalize it if it is not external one. */ if (DECL_EXTERNAL (to)) - varpool_node (to); + varpool_node_for_decl (to); else if (!alias_of) varpool_add_new_variable (to); else |