This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r180777 - in /branches/cxx-mem-model/gcc: Chang...


Author: amacleod
Date: Wed Nov  2 15:53:47 2011
New Revision: 180777

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180777
Log:

	* common.opt (finline-atomics): New. Flag to disable atomic inlining.
	* builtins.c (expand_builtin_atomic_exchange,
	expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
	expand_builtin_atomic_store, expand_builtin_atomic_fetch_op,
	fold_builtin_atomic_is_lock_free, expand_builtin_atomic_is_lock_free):
	Don't attempt instruction expansion if inlining atomics is disabled.

	testsuite
	* gcc.dg/atomic-noinline.c: New.  Make a variety of atomics calls.
	* gcc.dg/atomic-noinline-aux.c: New.  Provide some entry points.

Added:
    branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-noinline-aux.c
    branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-noinline.c
Modified:
    branches/cxx-mem-model/gcc/ChangeLog.mm
    branches/cxx-mem-model/gcc/builtins.c
    branches/cxx-mem-model/gcc/common.opt
    branches/cxx-mem-model/gcc/testsuite/ChangeLog.mm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]