gcc/libstdc++-v3/testsuite/30_threads/shared_lock
Jonathan Wakely 9f9eb84eac libstdc++/70766 use std::addressof instead of operator&
PR libstdc++/70766
	* include/bits/basic_ios.tcc (basic_ios::_M_cache_locale): Use
	__addressof.
	* include/bits/stream_iterator.h (istream_iterator, ostream_iterator):
	Likewise.
	* include/std/atomic (atomic<_Tp>): Likewise.
	* include/std/shared_mutex (shared_lock): Likewise.
	* testsuite/24_iterators/istream_iterator/70766.cc: New test.
	* testsuite/24_iterators/ostream_iterator/70766.cc : New test.
	* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
	* testsuite/29_atomics/atomic/70766.cc: New test.
	* testsuite/30_threads/shared_lock/70766.cc: New test.

From-SVN: r235565
2016-04-28 13:33:07 +01:00
..
cons Update copyright years. 2016-01-04 15:30:50 +01:00
locking Update copyright years. 2016-01-04 15:30:50 +01:00
modifiers Update copyright years. 2016-01-04 15:30:50 +01:00
requirements Update copyright years. 2016-01-04 15:30:50 +01:00
70766.cc libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00