gcc/libstdc++-v3/include
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
..
backward
bits Mark all member functions with memory models always inline v2 2013-05-09 04:22:11 +00:00
c
c_compatibility
c_global cstdio: Add comment about LWG 2249. 2013-05-02 09:48:07 +00:00
c_std cstdio: Add comment about LWG 2249. 2013-05-02 09:48:07 +00:00
debug re PR libstdc++/57065 (incorrect default allocator template for debug and profile unordered_map) 2013-04-25 09:42:46 +00:00
decimal
ext hashtable_policy.h: Add C++11 allocator support. 2013-04-22 20:22:07 +00:00
parallel memoryfwd.h: New. 2013-03-08 21:39:24 +00:00
precompiled
profile unordered_base.h: New. 2013-05-07 20:26:15 +00:00
std type_traits (is_null_pointer): Add. 2013-05-02 11:00:26 +00:00
tr1 user.cfg.in: Set __cplusplus to 201103L. 2013-02-20 01:52:36 +00:00
tr2
Makefile.am re PR libstdc++/57212 (Don't use pe-coff weak support with mingw) 2013-05-08 21:08:32 +02:00
Makefile.in re PR libstdc++/57212 (Don't use pe-coff weak support with mingw) 2013-05-08 21:08:32 +02:00