[Bug c++/79288] New: [7 Regression] TLS model wrong for static data members since r241137
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 30 17:28:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79288
Bug ID: 79288
Summary: [7 Regression] TLS model wrong for static data members
since r241137
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
Since r241137
struct S
{
static __thread int *p;
};
int *
foo ()
{
return S::p;
}
emits for non-pic code TLS local exec model relocations instead of initial
exec.
More information about the Gcc-bugs
mailing list