gcc/libstdc++-v3/include/std
Jonathan Wakely 310055e7b4 Handle alignment in __atomic_is_lock_free
gcc:

2015-09-17  Richard Henderson  <rth@redhat.com>

	PR libstdc++/65913
	* builtins.c (fold_builtin_atomic_always_lock_free): Handle fake
	pointers that encode the alignment of the object.

libstdc++-v3:

2015-09-17  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/65913
	* include/bits/atomic_base.h (__atomic_base<_TTp>::is_lock_free(),
	__atomic_base<_PTp*>::is_lock_free()): Call the built-in with the
	immediate pointer value, not a variable.
	* include/std/atomic (atomic<T>::is_lock_free()): Likewise.
	* testsuite/29_atomics/atomic/65913.cc: New.

From-SVN: r227878
2015-09-17 16:46:04 +01:00
..
algorithm Update copyright years. 2015-01-05 13:33:28 +01:00
array array: Include <array>. 2015-06-23 19:51:02 +00:00
atomic Handle alignment in __atomic_is_lock_free 2015-09-17 16:46:04 +01:00
bitset Update copyright years. 2015-01-05 13:33:28 +01:00
chrono re PR libstdc++/65499 (Missing "using namespace literals::chrono_literals" in std::chrono) 2015-03-27 12:45:10 +00:00
codecvt re PR libstdc++/64797 (22_locale/conversions/string/2.cc FAILs) 2015-03-04 17:19:55 +00:00
complex Enable lightweight checks with _GLIBCXX_ASSERTIONS. 2015-09-09 18:12:47 +01:00
condition_variable Add portable timed_mutex and recursive_timed_mutex. 2015-09-04 12:23:44 +01:00
deque Update copyright years. 2015-01-05 13:33:28 +01:00
forward_list Update copyright years. 2015-01-05 13:33:28 +01:00
fstream Update copyright years. 2015-01-05 13:33:28 +01:00
functional tuple (apply): Handle pointers to member (LWG 2418). 2015-05-13 14:12:48 +01:00
future future (__async_result_of): New alias template. 2015-05-29 14:44:52 +01:00
iomanip Implement N4100 File System TS 2015-04-30 20:11:52 +01:00
ios Update copyright years. 2015-01-05 13:33:28 +01:00
iosfwd Update copyright years. 2015-01-05 13:33:28 +01:00
iostream Update copyright years. 2015-01-05 13:33:28 +01:00
istream re PR libstdc++/65543 (rvalue stream insertion and extraction operators incorrectly implemented) 2015-03-25 09:57:06 +00:00
iterator Update copyright years. 2015-01-05 13:33:28 +01:00
limits re PR libstdc++/65883 (numeric_limits<unsigned __int128>::max() returns incorrect value) 2015-04-28 19:35:49 +00:00
list Update copyright years. 2015-01-05 13:33:28 +01:00
locale locale_conv.h (wstring_convert, [...]): New. 2015-01-16 23:38:48 +00:00
map Update copyright years. 2015-01-05 13:33:28 +01:00
memory memory (pointer_safety, [...]): Define. 2015-05-01 12:02:18 +01:00
mutex Enable lightweight checks with _GLIBCXX_ASSERTIONS. 2015-09-09 18:12:47 +01:00
numeric Update copyright years. 2015-01-05 13:33:28 +01:00
ostream re PR libstdc++/65543 (rvalue stream insertion and extraction operators incorrectly implemented) 2015-03-25 09:57:06 +00:00
queue Update copyright years. 2015-01-05 13:33:28 +01:00
random Update copyright years. 2015-01-05 13:33:28 +01:00
ratio Update copyright years. 2015-01-05 13:33:28 +01:00
regex regex_automaton.h (_State_base, _State<>): Remove _TraitsT dependency from _State<>... 2015-07-30 10:35:45 +00:00
scoped_allocator Implement N4258 (Cleaning-up noexcept in the Library rev 3) 2015-06-26 21:10:24 +01:00
set Update copyright years. 2015-01-05 13:33:28 +01:00
shared_mutex Enable lightweight checks with _GLIBCXX_ASSERTIONS. 2015-09-09 18:12:47 +01:00
sstream Update copyright years. 2015-01-05 13:33:28 +01:00
stack Update copyright years. 2015-01-05 13:33:28 +01:00
stdexcept re PR libstdc++/64367 (g++-v5/stdexcept:52:28: error: invalid use of non-static data member '_M_p') 2015-03-02 16:50:24 +00:00
streambuf Update copyright years. 2015-01-05 13:33:28 +01:00
string Update copyright years. 2015-01-05 13:33:28 +01:00
system_error Remove redundant conditional expressions in <system_error> 2015-09-17 15:56:50 +01:00
thread re PR libstdc++/58038 (std::this_thread::sleep_until can cause inifinite sleep) 2015-03-26 19:59:08 +00:00
tuple Implement N4387, "Improving pair and tuple", and LWG 2367. 2015-06-30 14:26:49 +01:00
type_traits Implement N4502, the C++ Detection Idiom. 2015-07-01 13:23:54 +01:00
typeindex Update copyright years. 2015-01-05 13:33:28 +01:00
unordered_map Update copyright years. 2015-01-05 13:33:28 +01:00
unordered_set Update copyright years. 2015-01-05 13:33:28 +01:00
utility array: Include <array>. 2015-06-23 19:51:02 +00:00
valarray Enable lightweight checks with _GLIBCXX_ASSERTIONS. 2015-09-09 18:12:47 +01:00
vector Update copyright years. 2015-01-05 13:33:28 +01:00