------- Comment #8 from iains at gcc dot gnu dot org 2010-05-15 11:24 ------- (In reply to comment #7) > Subject: Re: [4.6 Regression] emutls is broken under a > range of circumstances.
> Correct fix is to lower emultls earlier so both ipa-ref and LTO understands > it. > This might be bit too early, but I think we can stick it into gimplifier as > follows works except where the var is initialized... where an init var is present, the compiler appears to be emitting native TLS code .. :-( so I guess there's another arm that needs to be intercepted .. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44132