gcc/libstdc++-v3/testsuite
Jonathan Wakely 6bc41b268e Only set std::enable_shared_from_this member once.
* include/bits/shared_ptr.h (__enable_shared_from_this_helper): Use
	nullptr.
	* include/bits/shared_ptr_base.h (weak_ptr::_M_assign): Don't assign
	if ownership is already shared with a shared_ptr object.
	(__enable_shared_from_this_helper): Use nullptr.
	* testsuite/20_util/enable_shared_from_this/members/const.cc: New.
	* testsuite/20_util/enable_shared_from_this/members/reinit.cc: New.
	* testsuite/20_util/enable_shared_from_this/requirements/
	explicit_instantiation.cc: Instantiate with const and incomplete types.

From-SVN: r227232
2015-08-26 22:27:00 +01:00
..
17_intro re PR libstdc++/67309 (Error compiling with -std=c++11 and -fsingle-precision-constant) 2015-08-24 14:43:36 +01:00
18_support exception (uncaught_exceptions): Add comment. 2015-04-28 13:07:40 +01:00
19_diagnostics std_c++0x_neg.cc: Add -std=c++98. 2015-05-09 00:50:30 -04:00
20_util Only set std::enable_shared_from_this member once. 2015-08-26 22:27:00 +01:00
21_strings re PR libstdc++/65049 (Undefined behaviour with std::char_traits<char>) 2015-08-24 14:43:54 +01:00
22_locale re PR libstdc++/66855 (codecvt wrong endianness in UTF-16 conversions) 2015-07-13 21:07:48 +01:00
23_containers Implement N4279, Improved insertion interface for unique-key maps. 2015-08-09 01:57:13 +03:00
24_iterators * testsuite/24_iterators/container_access.cc: New. 2015-07-29 13:55:58 +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 1.cc: Use non-negative rho argument. 2015-06-22 16:09:32 +01:00
27_io [libstdc++-v3]Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc. 2015-06-02 08:54:25 +00:00
28_regex re PR libstdc++/67015 ("^[a-z0-9][a-z0-9-]*$", std::regex::extended is miscompiled) 2015-07-29 03:45:35 +00:00
29_atomics [PATCH][libstc++v3]Add new dg-require-thread-fence directive. 2015-04-22 14:01:02 +00:00
30_threads libstdc++/67294 Don't run timed mutex tests on Darwin 2015-08-20 21:36:19 +01:00
abi Update copyright years. 2015-01-05 13:33:28 +01:00
backward Update copyright years. 2015-01-05 13:33:28 +01:00
config Update copyright years. 2015-01-05 13:33:28 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal Update copyright years. 2015-01-05 13:33:28 +01:00
experimental any (__any_caster): Define at namespace scope so the name is visible to name lookup. 2015-08-20 21:19:58 +01:00
ext c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01: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 Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-dg Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-prettyprinters Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-xmethods xmethods.py (UniquePtrMethodsMatcher): Add operator-> support. 2015-05-26 23:06:55 +00:00
performance Update copyright years. 2015-01-05 13:33:28 +01:00
tr1 re PR c++/67216 (false is still a null pointer constant) 2015-08-18 19:04:48 +01:00
tr2 Update copyright years. 2015-01-05 13:33:28 +01:00
util locale_conv.h: Fix copyright years. 2015-05-26 10:52:25 +01:00
Makefile.am Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00