From: Seongbae Park Date: Mon, 29 Dec 2008 20:10:21 +0000 (+0000) Subject: tree-profile.c (tree_init_ic_make_global_vars): Make static variables TLS. X-Git-Tag: releases/gcc-4.4.0~1104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31375f4d8dd4149c5aeafcd0b757825d3f23841a;p=thirdparty%2Fgcc.git tree-profile.c (tree_init_ic_make_global_vars): Make static variables TLS. 2008-12-29 Seongbae Park * tree-profile.c (tree_init_ic_make_global_vars): Make static variables TLS. From-SVN: r142953 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00dcec7a4fb6..c55f3f8febb4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-12-29 Seongbae Park + + * tree-profile.c (tree_init_ic_make_global_vars): Make static + variables TLS. + 2008-12-29 Jakub Jelinek PR c++/36191 diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 4467668a8858..d13ea0288b93 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); assemble_variable (ic_void_ptr_var, 0, 0, 0); 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); assemble_variable (ic_gcov_type_ptr_var, 0, 0, 0); }