This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Re: [v3] updated atomic configury
On 11/28/2011 11:29 AM, Andrew MacLeod wrote:
> 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.
Ok.
r~