gcc/libstdc++-v3
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
..
config Provide nearly complete std::locale support for DragonFly 2015-08-27 13:12:41 +01:00
doc Rationalise PCH headers and 17_intro/headers tests. 2015-09-11 13:25:43 +01:00
include Handle alignment in __atomic_is_lock_free 2015-09-17 16:46:04 +01:00
libsupc++ libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
po libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
python Makefile.am: Ensure gdb.py is installed for libstdc++ not libstdc++fs. 2015-08-20 11:50:02 +01:00
scripts
src Make std::random_device retry after short reads 2015-09-17 16:06:42 +01:00
testsuite Handle alignment in __atomic_is_lock_free 2015-09-17 16:46:04 +01:00
acinclude.m4 Implement filesystem::canonical() without realpath 2015-09-16 23:50:28 +01:00
aclocal.m4 libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00
ChangeLog Handle alignment in __atomic_is_lock_free 2015-09-17 16:46:04 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
config.h.in Implement filesystem::canonical() without realpath 2015-09-16 23:50:28 +01:00
configure Implement filesystem::canonical() without realpath 2015-09-16 23:50:28 +01:00
configure.ac Add C++11 header <cuchar>. 2015-09-04 12:13:34 +01:00
configure.host Use atomics in guard.cc / remove special casing in targets. 2015-06-12 09:53:24 +00:00
crossconfig.m4
fragment.am libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
linkage.m4
Makefile.am
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +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.