2018-11-30 Alexander Monakov <amonakov@ispras.ru>
PR gcov-profile/88279
* tree-profile.c (init_ic_make_global_vars): Call
decl_default_tls_model for variable and not it's type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266666
138bc75d-0d04-0410-961f-
82ee72b054a4
+2018-11-30 Alexander Monakov <amonakov@ispras.ru>
+
+ PR gcov-profile/88279
+ * tree-profile.c (init_ic_make_global_vars): Call
+ decl_default_tls_model for variable and not it's type.
+
2018-11-30 Sam Tebbs <sam.tebbs@arm.com>
* config/arm/arm.h (TARGET_DOTPROD): Add TARGET_VFP5 constraint.
DECL_INITIAL (ic_tuple_var) = NULL;
DECL_EXTERNAL (ic_tuple_var) = 1;
if (targetm.have_tls)
- set_decl_tls_model (ic_tuple_var, decl_default_tls_model (tuple_type));
+ set_decl_tls_model (ic_tuple_var, decl_default_tls_model (ic_tuple_var));
}
/* Create the type and function decls for the interface with gcov. */