This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] |
Here's a simpler solution for the 4.6 branch, which is a bit hacky but only affects hppa-linux with LinuxThreads in C++0x mode. PR libstdc++/53270 * acinclude.m4 (GLIBCXX_GTHREADS_CXX11_COPY_ASSIGN): Define. * configure.ac (GLIBCXX_GTHREADS_CXX11_COPY_ASSIGN): Use it. * config.h.in: Regenerate. * configure: Likewise. * include/ext/concurrence.h (__copy_gthr_type): Define. (__mutex::__mutex, __recursive_mutex::__recursive_mutex, __cond::__cond): Use it. * include/ext/rope (__copy_gthr_mutex): Define. (_Refcount_Base::_Refcount_Base, _Rope_RopeRep::_Rope_RopeRep): Use it. * src/condition_variable.cc (condition_variable::condition_variable): Use memcpy instead of assignment. Tested x86_64-linux, hppa-linux, powerpc64-linux, x86_64-netbsd, committed to the 4.6 branch, and I can finally close the PR as fixed.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |