This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/48076] Unsafe double checked locking in __emutls_get_address
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Mar 2011 16:34:02 +0000
- Subject: [Bug middle-end/48076] Unsafe double checked locking in __emutls_get_address
- Auto-submitted: auto-generated
- References: <bug-48076-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48076
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-11 16:33:49 UTC ---
>This looks unlikely on x86, but it may be a much bigger deal on ARM.
This code should not be used on GNU/Linux on most targets anyways. ARM Linux
supports TLS natively.
I am not saying this is not a bug but I think you should figure out why native
TLS is not be used for arm for your code.