mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
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
This commit is contained in:
parent
427071d4a4
commit
37eafc06dd
@ -1,3 +1,9 @@
|
||||
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. */
|
||||
|
Loading…
Reference in New Issue
Block a user