This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79288] New: [7 Regression] TLS model wrong for static data members since r241137
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jan 2017 17:28:29 +0000
- Subject: [Bug c++/79288] New: [7 Regression] TLS model wrong for static data members since r241137
- Auto-submitted: auto-generated
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.