Commit 37eafc06 by Alexander Monakov Committed by Martin Liska

Call decl_default_tls_model with a proper type (PR gcov-profile/88279).

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.

From-SVN: r266666
parent 427071d4
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.
......@@ -111,7 +111,7 @@ init_ic_make_global_vars (void)
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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment