OSDN Git Service

2010-03-30 Seongbae Park <seongbae.park@gmail.com>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Mar 2010 13:10:16 +0000 (13:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Mar 2010 13:10:16 +0000 (13:10 +0000)
    Jack Howarth <howarth@bromo.med.uc.edu>

* tree-profile.c (tree_init_ic_make_global_vars): Make static
        variables TLS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157822 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-profile.c

index 7d6b80a..a033d48 100644 (file)
@@ -1,3 +1,9 @@
+2010-03-30  Seongbae Park <seongbae.park@gmail.com>
+           Jack Howarth <howarth@bromo.med.uc.edu>
+
+       * tree-profile.c (tree_init_ic_make_global_vars): Make static
+       variables TLS.
+
 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
 
        PR other/25232
index 3d681e0..141af30 100644 (file)
@@ -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);
 }