gcc/libstdc++-v3
Andrew MacLeod d660c35ea2 re PR middle-end/51038 (29_atomics/atomic_flag/clear/1.cc test_and_set/explicit.cc implicit.cc)
PR middle-end/51038

	libstdc++-v3
	* include/bits/atomic_base.h (atomic_thread_fence): Call built-in.
	(atomic_signal_fence): Call built-in.
	(test_and_set, clear): Call new atomic built-ins.

	gcc
	* builtins.c (expand_builtin_atomic_clear): New.  Expand atomic_clear.
	(expand_builtin_atomic_test_and_set): New.  Expand atomic test_and_set.
	(expand_builtin): Add cases for test_and_set and clear.
	* sync-builtins.def (BUILT_IN_ATOMIC_TEST_AND_SET): New.
	(BUILT_IN_ATOMIC_CLEAR): New.

	testsuite
	* gcc.dg/atomic-invalid.c: Add test for invalid __atomic_clear models.
	* gcc.dg/atomic-flag.c: New.  Test __atomic_test_and_set and
	__atomic_clear.

From-SVN: r181271
2011-11-10 20:38:33 +00:00
..
config Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
doc stl_vector.h (vector::_Alloc_traits): Make private. 2011-11-09 01:26:04 +00:00
include re PR middle-end/51038 (29_atomics/atomic_flag/clear/1.cc test_and_set/explicit.cc implicit.cc) 2011-11-10 20:38:33 +00:00
libsupc++ Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
po Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
python Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
scripts run_doxygen: Fix sed quoting. 2011-11-04 19:39:23 +00:00
src acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
testsuite allocator.h (__shrink_to_fit_aux::_S_do_it): Create the new object with the same allocator. 2011-11-09 21:14:03 +00:00
ChangeLog re PR middle-end/51038 (29_atomics/atomic_flag/clear/1.cc test_and_set/explicit.cc implicit.cc) 2011-11-10 20:38:33 +00:00
ChangeLog-1998
ChangeLog-1999 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2000 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2001
ChangeLog-2002 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2003 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2004 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2005 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2006 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2007 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2008 2009-04-13 Paolo Carlini <paolo.carlini@oracle.com> 2009-04-13 14:41:54 +00:00
ChangeLog-2009 Move 2009 ChangeLog to ChangeLog-2009. 2010-01-01 09:08:32 -08:00
ChangeLog-2010 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
Makefile.am run_doxygen: Allow doxygen 1.7.1 again. 2010-12-31 22:20:22 +00:00
Makefile.in Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
README
acinclude.m4 acinclude.m4 ([GLIBCXX_ENABLE_VISIBILITY]): Rename to [GLIBCXX_ENABLE_LIBSTDCXX_VISIBILITY]... 2011-11-08 14:07:27 +00:00
aclocal.m4 aclocal.m4: Regenerate. 2011-01-11 16:43:25 +00:00
config.h.in acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
configure acinclude.m4 ([GLIBCXX_ENABLE_VISIBILITY]): Rename to [GLIBCXX_ENABLE_LIBSTDCXX_VISIBILITY]... 2011-11-08 14:07:27 +00:00
configure.ac acinclude.m4 ([GLIBCXX_ENABLE_VISIBILITY]): Rename to [GLIBCXX_ENABLE_LIBSTDCXX_VISIBILITY]... 2011-11-08 14:07:27 +00:00
configure.host configure.host: Use config/os/mingw32-w64 instead of config/os/mingw32 if vendor key is "w64". 2011-10-14 08:57:55 +02:00
crossconfig.m4 re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
fragment.am fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed. 2011-07-22 13:52:51 +00:00
linkage.m4 re PR libstdc++/32666 (FAIL: abi_check hppa) 2009-01-15 20:02:11 +00:00

README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.