gcc/libstdc++-v3
Andi Kleen a062bb4ba6 Mark all member functions with memory models always inline v2
When a non constant memory model is passed to __atomic_*
gcc falls back to seq_cst. This drops any HLE acquire or release bits.

This can happen when <atomic> is used with -O0
as the member functions are not always inlined then and the memory
argument passed in ends up being non-constant.

v2: Use _GLIBCXX_ALWAYS_INLINE

libstdc++-v3/:

2013-05-08  Andi Kleen  <ak@linux.intel.com>

	PR target/55947
	* libstdc++-v3/include/bits/atomic_base.h
	(_GLIBCXX_ALWAYS_INLINE): Add new macro.
	(atomic_thread_fence, atomic_signal_fence, test_and_set,
	clear, store, load, exchange, compare_exchange_weak)
	compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
	fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.

From-SVN: r198733
2013-05-09 04:22:11 +00:00
..
config Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
doc * doc/xml/manual/extensions.xml: Fix anachronism. 2013-04-20 20:40:28 +01:00
include Mark all member functions with memory models always inline v2 2013-05-09 04:22:11 +00:00
libsupc++ Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
po Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
python Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
scripts Filter out basever symbols on Solaris 2013-03-06 13:34:35 +00:00
src * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h. 2013-04-22 21:31:27 -04:00
testsuite unordered_base.h: New. 2013-05-07 20:26:15 +00:00
ChangeLog Mark all member functions with memory models always inline v2 2013-05-09 04:22:11 +00:00
ChangeLog-1998 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-1999 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2000 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2001 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2002 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2003 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2004 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2005 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2006 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2007 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2008 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2009 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2010 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2011 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
Makefile.am Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
Makefile.in gthr.m4: New. 2012-10-15 13:10:30 +00:00
README
acinclude.m4 configure, [...]: Rebuild. 2013-04-09 20:55:17 +00:00
aclocal.m4 acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Remove ENABLE_PARALLEL. 2012-09-28 19:48:27 +00:00
config.h.in configure, [...]: Rebuild. 2013-04-09 20:55:17 +00:00
configure configure, [...]: Rebuild. 2013-04-09 20:55:17 +00:00
configure.ac configure, [...]: Rebuild. 2013-04-09 20:55:17 +00:00
configure.host config.gcc: Match arm*-*-linux-* for ARM Linux/GNU. 2012-10-15 21:12:23 +00:00
crossconfig.m4 crossconfig.m4: Add support for cygwin x64 target. 2013-03-27 22:56:57 +01:00
fragment.am fragment.am (CONFIG_CXXFLAGS): Remove EXTRA_CXX_FLAGS. 2012-09-29 04:08:17 +00:00
linkage.m4 linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. 2013-02-11 12:50:13 -05: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.