On Tue, Feb 07, 2012 at 09:11:38AM +0000, Jonathan Wakely wrote: > gthr-posix.h changes OK as attached, with this ChangeLog?
Okay. Thanks. > libgcc/ > 2012-02-07 Jonathan Wakely <jwakely....@gmail.com> > > PR libstdc++/51906 > PR libstdc++/51296 > * gthr-posix.h: Allow static initializer macros to be disabled. > (__gthrw_pthread_cond_init): Define weak reference unconditionally. > > libstdc++-v3/ > 2012-02-07 Jonathan Wakely <jwakely....@gmail.com> > > PR libstdc++/51296 > * include/std/mutex (__mutex_base::~__mutex_base): Declare noexcept. > * src/c++11/condition_variable.cc (condition_variable): Use macro for > initializer function. > > PR libstdc++/51906 > * config/os/bsd/darwin/os_defines.h: Disable static initializer for > recursive mutexes. > > Tested x86_64-linux with --enable-languages=c,c++,objc,obj-c++, both > with and without the new _GTHREAD_USE_XXX_INIT_FUNC macros defined. > > Also tested on i686-linux, powerpc-linux, x86_64-netbsd with default > configuration and just --enable-languages=c,c++ Jakub