https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
--- Comment #8 from Dmitry Vyukov ---
Is there any progress on this? Is it fixed?
I've hit this issue in ThreadSanitizer. It intercepts __tls_get_addr and then
code that uses MOVDQA [rbp] crashes. I remember that I hit it previously in
some othe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
--- Comment #7 from wmi at gcc dot gnu.org ---
Author: wmi
Date: Mon May 19 05:25:45 2014
New Revision: 210601
URL: http://gcc.gnu.org/viewcvs?rev=210601&root=gcc&view=rev
Log:
2014-05-18 Wei Mi
PR target/58066
* gcc.target/i3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
--- Comment #6 from wmi at gcc dot gnu.org ---
Author: wmi
Date: Thu May 8 16:44:52 2014
New Revision: 210222
URL: http://gcc.gnu.org/viewcvs?rev=210222&root=gcc&view=rev
Log:
gcc/
2014-05-08 Wei Mi
PR target/58066
* config/i386/i386.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
--- Comment #5 from H.J. Lu ---
Another problem:
[hjl@gnu-6 gcc]$ cat /tmp/c.i
static __thread char ccc;
void* __cxa_get_globals()
{
return &ccc;
}
[hjl@gnu-6 gcc]$ ./xgcc -B./ -S -O2 -fPIC /tmp/c.i
[hjl@gnu-6 gcc]$ cat /tmp/c.i
static __thr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
--- Comment #4 from H.J. Lu ---
Created attachment 32341
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32341&action=edit
A patch
This patch sets ix86_tls_descriptor_calls_expanded_in_cfun after
reload is complete and checks it for stack bou
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
--- Comment #3 from Paul Pluzhnikov ---
(In reply to Paul Pluzhnikov from comment #2)
> What is the way to turn it on?
Compiling test case with -mtls-dialect=gnu2 does appear to improve the picture:
g++ -fPIC -O2 -S t.cc -mtls-dialect=gnu2
__c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
--- Comment #2 from Paul Pluzhnikov ---
(In reply to Andrew Pinski from comment #1)
> Which most Linux distro default to anyways ...
Ubuntu 12.04.1 LTS doesn't.
Configuring trunk GCC on it doesn't default to GNU2 TLS either.
What is the way to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
Andrew Pinski changed:
What|Removed |Added
Component|c |target
--- Comment #1 from Andrew Pinski