This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/27557] OpenMP threadprivate directive does not work with non-POD types


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27557

Sameer Sheorey <ssameer at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssameer at gmail dot com

--- Comment #17 from Sameer Sheorey <ssameer at gmail dot com> ---
The second fragment still fails in gcc 5.3.1 (OpenSuse 13.2). I noticed that
the C++11 version succeeds:

struct A {
        A() {}
};
thread_local A a;

Is it possible to migrate this to the OpenMP implementation as well?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]