This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r181784 - in /trunk: gcc/c-family/ChangeLog gcc...
- From: amacleod at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Mon, 28 Nov 2011 20:28:24 -0000
- Subject: r181784 - in /trunk: gcc/c-family/ChangeLog gcc...
Author: amacleod
Date: Mon Nov 28 20:28:23 2011
New Revision: 181784
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181784
Log:
c-family
* c-cpp-builtin.c (cpp_atomic_builtins):New. Emit all atomic
predefines in one place. Add LOCK_FREE predefines.
(c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
new func.
libstdc++-v3
* include/bits/atomic_base.h (ATOMIC_*_LOCK_FREE): Use new cpp
predefined macros.
* testsuite/29_atomics/headers/atomic/macros.cc: Add BOOL and POINTER
macro checks. Check for expected compile time values.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/atomic_base.h
trunk/libstdc++-v3/testsuite/29_atomics/headers/atomic/macros.cc
Changes in other areas also in this revision:
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-cppbuiltin.c