This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27557] OpenMP threadprivate directive does not work with non-POD types
- From: "siddhesh at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Jun 2013 09:35:12 +0000
- Subject: [Bug c++/27557] OpenMP threadprivate directive does not work with non-POD types
- Auto-submitted: auto-generated
- References: <bug-27557-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27557
Siddhesh Poyarekar <siddhesh at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |siddhesh at redhat dot com
--- Comment #11 from Siddhesh Poyarekar <siddhesh at redhat dot com> ---
I had added __cxa_thread_atexit_impl to glibc earlier this year to support
c++11 thread_local destructors[1][2]. Wouldn't that be good enough support
from glibc for openmp too?
[1]
http://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables
[2]
http://sourceware.org/git/?p=glibc.git;a=commit;h=ba384f6ed9275f3966505f2375b56d169e3dc588