This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/36801] config/cpu/generic/atomicity_mutex/atomicity.h incorrectly relies on global constructor ordering
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2009 21:32:34 -0000
- Subject: [Bug libstdc++/36801] config/cpu/generic/atomicity_mutex/atomicity.h incorrectly relies on global constructor ordering
- References: <bug-36801-8116@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from bkoz at gcc dot gnu dot org 2009-01-12 21:32 -------
Subject: Bug 36801
Author: bkoz
Date: Mon Jan 12 21:32:19 2009
New Revision: 143310
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143310
Log:
2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
Jonathan Larmour <jifl@eCosCentric.com>
PR libstdc++/36801
* config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
New.
(__gnu_cxx::__exchange_and_add): Use it.
* src/debug.cc (get_safe_base_mutex): New.
* src/locale.cc (get_locale_cache_mutex): New.
* src/mt_allocator.cc (get_freelist): New.
(get_freelist_mutex): New.
* src/pool_allocator.cc (get_palloc_mutex): New.
2009-01-12 Jonathan Larmour <jifl@eCosCentric.com>
* include/ext/concurrence.h: Fix __gthread_cond_t initialisation
function macro name.
Modified:
branches/gcc-4_3-branch/libstdc++-v3/ChangeLog
branches/gcc-4_3-branch/libstdc++-v3/config/cpu/generic/atomicity_mutex/atomicity.h
branches/gcc-4_3-branch/libstdc++-v3/include/ext/concurrence.h
branches/gcc-4_3-branch/libstdc++-v3/src/debug.cc
branches/gcc-4_3-branch/libstdc++-v3/src/locale.cc
branches/gcc-4_3-branch/libstdc++-v3/src/mt_allocator.cc
branches/gcc-4_3-branch/libstdc++-v3/src/pool_allocator.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36801