OSDN Git Service

2010-05-24 Iain Sandoe <iains@gcc.gnu.org>
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 2010 14:36:32 +0000 (14:36 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 2010 14:36:32 +0000 (14:36 +0000)
commit01a5cbdfc72164602f3cc41d22c78001c1da2adb
tree572e1afe3e6475f92e50a9110276f5d8b13583fa
parent0d2f70701128ba3e37a82d5d783599414f29c7ca
2010-05-24  Iain Sandoe  <iains@gcc.gnu.org>

PR target/44132
PR middle-end/43602
* varasm.c (get_emutls_init_templ_addr): Copy DECL_PRESERVE_P,
DECL_VISIBILITY_SPECIFIED.
(emutls_decl): Set DECL_PRESERVE_P and copy
DECL_VISIBILITY_SPECIFIED, DECL_RESTRICTED_P.
(emutls_finalize_control_var): New callback.
(emutls_finish): Finalize emutls control variables.
* toplev.c (compile_file): Move the call to emutls_finish ()
before varpool_assemble_pending_decls ().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159781 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/toplev.c
gcc/varasm.c