------- Comment #6 from iains at gcc dot gnu dot org 2010-05-15 09:25 ------- (In reply to comment #5)
> Index: gcc/varasm.c > =================================================================== > --- gcc/varasm.c (revision 159429) > +++ gcc/varasm.c (working copy) > @@ -386,6 +386,7 @@ emutls_decl (tree decl) > DECL_TLS_MODEL (to) = TLS_MODEL_EMULATED; > DECL_ARTIFICIAL (to) = 1; > DECL_IGNORED_P (to) = 1; > + DECL_PRESERVE_P (to) = 1; > TREE_READONLY (to) = 0; > SET_DECL_ASSEMBLER_NAME (to, DECL_NAME (to)); > if (DECL_ONE_ONLY (decl)) > > looks good so far .. I'll have to wait for the bootstrap on x86_64 to > succeed/fail to try it there too (PR44146 > with this the FE problems (less LTO) are resolved and libgomp is restored less three C++ CTOR-related tests (ctor-5, ctor-8 and ctor-9). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44132