gcc/libstdc++-v3/testsuite
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
..
17_intro Rationalise PCH headers and 17_intro/headers tests. 2015-09-11 13:25:43 +01:00
18_support libstdc++: Run tests on RTEMS 2015-09-03 05:45:33 +00:00
19_diagnostics std_c++0x_neg.cc: Add -std=c++98. 2015-05-09 00:50:30 -04:00
20_util Relax Debug Mode assertions on operator-> for smart pointers. 2015-09-07 18:17:23 +01:00
21_strings Implement N4258 noexcept for std::basic_string. 2015-09-11 12:02:14 +01:00
22_locale Fix invalid UTF-8 in wchar_t tests. 2015-09-11 14:06:42 +01:00
23_containers Allocator-extended constructors for container adaptors. 2015-09-11 10:51:29 +01:00
24_iterators Add concept checks to std::next and std::prev. 2015-09-03 15:35:43 +01:00
25_algorithms re PR libstdc++/60519 (Debug mode should check comparators for irreflexivity) 2015-08-25 20:27:03 +00:00
26_numerics re PR libstdc++/67374 (std::cbegin can't call valarray range access functions) 2015-08-27 20:05:19 +01:00
27_io Fix invalid UTF-8 in wchar_t tests. 2015-09-11 14:06:42 +01:00
28_regex re PR libstdc++/67362 (std::regex("((.)", std::regex_constants::basic) throws) 2015-08-28 02:35:21 +00:00
29_atomics Handle alignment in __atomic_is_lock_free 2015-09-17 16:46:04 +01:00
30_threads Rename shadowed variable in libstdc++ test. 2015-09-07 12:33:20 +01:00
abi
backward
config
data
decimal
experimental Remove non-deterministic part of canonical() test 2015-09-17 16:33:20 +01:00
ext libstdc++: Run tests on RTEMS 2015-09-03 05:45:33 +00:00
lib re PR libstdc++/66829 (FAIL: 23_containers/multiset/modifiers/erase/dr130-linkage-check.cc) 2015-07-29 15:56:11 +01:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods xmethods.py (UniquePtrMethodsMatcher): Add operator-> support. 2015-05-26 23:06:55 +00:00
performance
tr1 libstdc++: Run tests on RTEMS 2015-09-03 05:45:33 +00:00
tr2
util Implement N4258 noexcept for std::basic_string. 2015-09-11 12:02:14 +01:00
Makefile.am
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00