From 40ae6799329ad23721e9e0c6bf3b2347e0d3bb05 Mon Sep 17 00:00:00 2001 From: Seongbae Park Date: Tue, 30 Mar 2010 13:10:16 +0000 Subject: tree-profile.c (tree_init_ic_make_global_vars): Make static variables TLS. 2010-03-30 Seongbae Park Jack Howarth * tree-profile.c (tree_init_ic_make_global_vars): Make static variables TLS. Co-Authored-By: Jack Howarth From-SVN: r157822 --- gcc/tree-profile.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/tree-profile.c') diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 3d681e0..141af30 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -82,6 +82,7 @@ tree_init_ic_make_global_vars (void) TREE_PUBLIC (ic_void_ptr_var) = 0; DECL_ARTIFICIAL (ic_void_ptr_var) = 1; DECL_INITIAL (ic_void_ptr_var) = NULL; + DECL_TLS_MODEL (ic_void_ptr_var) = decl_default_tls_model (ic_void_ptr_var); varpool_finalize_decl (ic_void_ptr_var); gcov_type_ptr = build_pointer_type (get_gcov_type ()); @@ -93,6 +94,7 @@ tree_init_ic_make_global_vars (void) TREE_PUBLIC (ic_gcov_type_ptr_var) = 0; DECL_ARTIFICIAL (ic_gcov_type_ptr_var) = 1; DECL_INITIAL (ic_gcov_type_ptr_var) = NULL; + DECL_TLS_MODEL (ic_gcov_type_ptr_var) = decl_default_tls_model (ic_gcov_type_ptr_var); varpool_finalize_decl (ic_gcov_type_ptr_var); } -- cgit v1.1