gcc/cp/ * decl.c: Define tls_aggregates. (expand_static_init): Remove sorry. Add to tls_aggregates. * cp-tree.h: Declare tls_aggregates. * call.c (set_up_extended_ref_temp): Add to tls_aggregates. * decl2.c (var_needs_tls_wrapper): New. (var_defined_without_dynamic_init): New. (get_tls_init_fn, get_tls_wrapper_fn): New. (generate_tls_wrapper, handle_tls_init): New. (cp_write_global_declarations): Call handle_tls_init and enerate_tls_wrapper. * mangle.c (write_guarded_var_name): Split out from.. (mangle_guard_variable): ...here. (mangle_tls_init_fn, mangle_tls_wrapper_fn): Use it. (decl_tls_wrapper_p): New. * semantics.c (finish_id_expression): Replace use of thread_local variable with a call to its wrapper. libiberty/ * cp-demangle.c (d_special_name, d_dump): Handle TH and TW. (d_make_comp, d_print_comp): Likewise. include/ * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_TLS_INIT and DEMANGLE_COMPONENT_TLS_WRAPPER. From-SVN: r192211
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
COPYING | Loading commit data... | |
COPYING3 | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog-9103 | Loading commit data... | |
ansidecl.h | Loading commit data... | |
demangle.h | Loading commit data... | |
dwarf2.def | Loading commit data... | |
dwarf2.h | Loading commit data... | |
dyn-string.h | Loading commit data... | |
fibheap.h | Loading commit data... | |
filenames.h | Loading commit data... | |
floatformat.h | Loading commit data... | |
fnmatch.h | Loading commit data... | |
getopt.h | Loading commit data... | |
hashtab.h | Loading commit data... | |
leb128.h | Loading commit data... | |
libiberty.h | Loading commit data... | |
lto-symtab.h | Loading commit data... | |
md5.h | Loading commit data... | |
objalloc.h | Loading commit data... | |
obstack.h | Loading commit data... | |
partition.h | Loading commit data... | |
plugin-api.h | Loading commit data... | |
safe-ctype.h | Loading commit data... | |
sha1.h | Loading commit data... | |
simple-object.h | Loading commit data... | |
sort.h | Loading commit data... | |
splay-tree.h | Loading commit data... | |
symcat.h | Loading commit data... | |
timeval-utils.h | Loading commit data... | |
xregex.h | Loading commit data... | |
xregex2.h | Loading commit data... | |
xtensa-config.h | Loading commit data... |