Bug#309193: at runtime, TLS does not work, but at compile time, __thread does not give an error

2005-06-14 Thread Jeroen N. Witmond
> "Jeroen N. Witmond" <[EMAIL PROTECTED]> writes: > >> Oops, my bad. In simplifying the testcase I removed an essential >> part. In the new testcase (attached), the address of variable >> 'local' is taken in the thread. Unfortunately, this does not remove >> the problem. The testcase still exits wi

Bug#309193: at runtime, TLS does not work, but at compile time, __thread does not give an error

2005-06-14 Thread Falk Hueffner
"Jeroen N. Witmond" <[EMAIL PROTECTED]> writes: > Oops, my bad. In simplifying the testcase I removed an essential > part. In the new testcase (attached), the address of variable > 'local' is taken in the thread. Unfortunately, this does not remove > the problem. The testcase still exits with 2 in

Bug#309193: at runtime, TLS does not work, but at compile time, __thread does not give an error

2005-06-12 Thread Falk Hueffner
tags 309193 + moreinfo thanks Hi, the documentation says: When the address-of operator is applied to a thread-local variable, it is evaluated at run-time and returns the address of the current thread's instance of that variable. So all threads get the same instance of "local" in your test

Processed: Bug#309193: at runtime, TLS does not work, but at compile time, __thread does not give an error

2005-06-12 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > tags 309193 + moreinfo Bug#309193: /usr/bin/gcc: at runtime, TLS does not work, but at compile time, __thread does not give an error There were no tags set. Tags added: moreinfo > thanks Stopping processing here. Please contact me if you need a