[Bug c/28141] thread-local ptr initialized to address of thread-local misclassified as non-constant initializer

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28141 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/28141] thread-local ptr initialized to address of thread-local misclassified as non-constant initializer

2016-08-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28141 --- Comment #3 from Andrew Pinski --- 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.

[Bug c/28141] thread-local ptr initialized to address of thread-local misclassified as non-constant initializer

2006-06-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-23 06:55 --- I think this needs also a binutils change and technically it is not a constant as it does change between threads. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/28141] thread-local ptr initialized to address of thread-local misclassified as non-constant initializer

2006-06-23 Thread gary at intrepid dot com
--- Comment #2 from gary at intrepid dot com 2006-06-23 16:44 --- I agree this is definitely an enhancement, but will note the following: 1. On Fedora Core 5, x86_64, I was able to successfully link and run a null program (written in assembly) that initializes thread local 'ptr' that