------- Comment #23 from iains at gcc dot gnu dot org 2010-05-24 14:36 ------- Subject: Bug 43602
Author: iains Date: Mon May 24 14:36:32 2010 New Revision: 159781 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159781 Log: 2010-05-24 Iain Sandoe <ia...@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 (). Modified: trunk/gcc/ChangeLog trunk/gcc/toplev.c trunk/gcc/varasm.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43602