Clang and support of thread local storage?

Hi there,

is TLS supported by clang on Haiku?
With my test.cc example (basically only a function which contains the variable definition below) I always get:
./test.cc:4:2: error: thread-local storage is not supported for the current target __thread static int forwardingSlot; ^
With gcc it seems that __thread keyword is compiled fine.

Hmm, sounds like a bug. Can you file an issue over at HaikuPorts?