diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-07 09:19:27 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-07 09:19:27 +0000 |
commit | f47763a61a0c45d9b14d664f5a4649817fa53cf7 (patch) | |
tree | b3f505dfbd64bd876c4195d271a4aaff77b5422a /libstdc++-v3/config | |
parent | 48a3785b0d21fb4c5a25adf3c6b3f3b3f32e939b (diff) | |
download | ppe42-gcc-f47763a61a0c45d9b14d664f5a4649817fa53cf7.tar.gz ppe42-gcc-f47763a61a0c45d9b14d664f5a4649817fa53cf7.zip |
libgcc/
PR libstdc++/51296
PR libstdc++/51906
* gthr-posix.h: Allow static initializer macros to be disabled.
(__gthrw_pthread_cond_init): Define weak reference unconditionally.
libstdc++-v3/
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183955 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/os/bsd/darwin/os_defines.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/config/os/bsd/darwin/os_defines.h b/libstdc++-v3/config/os/bsd/darwin/os_defines.h index ccefeafa731..421478d82d4 100644 --- a/libstdc++-v3/config/os/bsd/darwin/os_defines.h +++ b/libstdc++-v3/config/os/bsd/darwin/os_defines.h @@ -39,4 +39,7 @@ // -flat_namespace to work around the way that it doesn't. #define _GLIBCXX_WEAK_DEFINITION __attribute__ ((weak)) +// Static initializer macro is buggy in darwin, see libstdc++/51906 +#define _GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC + #endif |