[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug tree-optimization/65953] [5/6 Regression] undefined reference to static __thread variable
From:       "pinskia at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2015-04-30 18:43:37
Message-ID: bug-65953-4-k00Hpeq7hc () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65953

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> Looks like a Mono bug to me.  mono_jit_tls isn't __attribute__((used)), and
> the compiler determines it is a write-only variable (doesn't know the asm
> uses it).

I can think of one reason, the whole Coroutines and switching of the thread
behind the compiler with getcontext/setcontext.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic