This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r180789 - in /branches/cxx-mem-model: gcc/built...
- From: amacleod at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 02 Nov 2011 19:45:05 -0000
- Subject: r180789 - in /branches/cxx-mem-model: gcc/built...
Author: amacleod
Date: Wed Nov 2 19:45:04 2011
New Revision: 180789
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180789
Log:
2011-11-02 Andrew MacLeod <amacleod@redhat.com>
* builtins.c (fold_builtin_atomic_always_lock_free): Add object param
and check alignment if present.
(expand_builtin_atomic_always_lock_free): Expect 2nd argument.
(fold_builtin_atomic_is_lock_free): Expect 2nd argument.
(expand_builtin_atomic_is_lock_free): Expect 2nd argument.
(fold_builtin_1): Remove LOCK_FREE builtins.
(fold_builtin_2): Add LOCK_FREE builtins.
* sync-builtins.def (BUILT_IN_ATOMIC_{IS,ALWAYS}_LOCK_FREE): Add param.
* builtin-types.def (BT_FN_BOOL_SIZE): Remove.
(BT_FN_BOOL_SIZE_CONST_VPTR): Add.
2011-11-02 Andrew MacLeod <amacleod@redhat.com>
* types.def (BT_FN_BOOL_SIZE): Remove.
(BT_FN_BOOL_SIZE_CONST_VPTR): Add.
2011-11-02 Andrew MacLeod <amacleod@redhat.com>
* include/std/atomic (is_lock_free): Add object pointer to
__atomic_is_lock_free.
* include/bits/atomic_base.h (LOCKFREE_PROP): Add 0 for object ptr.
(is_lock_free): Add object pointer to __atomic_is_lock_free.
2011-11-02 Andrew MacLeod <amacleod@redhat.com>
* gcc.dg/atomic-lockfree.c: Add extra lock-free parameter.
* gcc.dg/atomic-lockfree-aux.c: Add extra lock-free parameter.
* gcc.dg/atomic-noinline.c: Add extra lock-free parameter.
* gcc.dg/atomic-noinline-aux.c: Add extra lock-free parameter.
* gcc.dg/atomic-invalid.c: Add extra lock-free parameter.
Modified:
branches/cxx-mem-model/gcc/builtin-types.def
branches/cxx-mem-model/gcc/builtins.c
branches/cxx-mem-model/gcc/fortran/types.def
branches/cxx-mem-model/gcc/sync-builtins.def
branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-invalid.c
branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-lockfree-aux.c
branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-lockfree.c
branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-noinline-aux.c
branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-noinline.c
branches/cxx-mem-model/libstdc++-v3/include/bits/atomic_base.h
branches/cxx-mem-model/libstdc++-v3/include/std/atomic