This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r183582 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: rth at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 26 Jan 2012 21:50:53 -0000
- Subject: r183582 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: rth
Date: Thu Jan 26 21:50:52 2012
New Revision: 183582
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183582
Log:
libstdc++: Use __GCC_ATOMIC_TEST_AND_SET in atomic_flag.
* include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
(ATOMIC_FLAG_INIT): Initialize with 0, not false.
(atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/atomic_base.h