http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47762
--- Comment #9 from chrbr at gcc dot gnu.org 2012-04-18 10:23:57 UTC --- Created attachment 27181 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27181 test ? For the record, here is the modified version of the test I'm playing with. compiled with g++ deallocate_global_thread-1.cc -static -pthread -O0 -g I'll try to figure out what happens if the failure is related or not to this bug.