This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28141] thread-local ptr initialized to address of thread-local misclassified as non-constant initializer
- 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: Sun, 14 Aug 2016 19:20:15 +0000
- Subject: [Bug c/28141] thread-local ptr initialized to address of thread-local misclassified as non-constant initializer
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-28141-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28141
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This also requires support in glibc. I don't think glibc folks want this thing
as it means you have to process runtime relocs when a thread is created, not a
good thing.