This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Gthreads patch to disable static initializer macros
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 7 Feb 2012 10:13:32 +0100
- Subject: Re: Gthreads patch to disable static initializer macros
- References: <CAH6eHdT1cf3UpwsQL_y0eGfSgMrG+7Y4idwz9nT9JhO18prpGg@mail.gmail.com> <20120206064014.GO18768@tyan-ft48-01.lab.bos.redhat.com> <CAH6eHdThWs-AiLfApqT=5TtX_6_4wAxOG18nOL1ZW2fZ2StM=w@mail.gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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.gcc@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.gcc@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