gcc/libstdc++-v3/testsuite/tr1
Jonathan Wakely 99ace34a31 re PR libstdc++/55320 (Invalid delete with throwing copy-c'tor passed to std::function)
PR libstdc++/55320
	* include/std/functional (function::function(F)): Set _M_manager after
	operations that could throw.
	(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
	* include/tr1/functional
	(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
	(_Function_base::_Base_manager::_M_get_pointer): Likewise.
	* testsuite/20_util/function/cons/55320.cc: New.
	* testsuite/20_util/function/cons/addressof.cc: New.
	* testsuite/20_util/function/cons/callable.cc: Remove header.
	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
	* testsuite/tr1/3_function_objects/function/10.cc: New.

From-SVN: r193514
2012-11-14 23:33:01 +00:00
..
2_general_utilities array (_GLIBCXX_THROW_OR_ABORT): Move... 2012-11-07 13:20:33 +00:00
3_function_objects re PR libstdc++/55320 (Invalid delete with throwing copy-c'tor passed to std::function) 2012-11-14 23:33:01 +00:00
4_metaprogramming user.cfg.in: Remove tr1_impl headers. 2010-11-05 22:30:54 +00:00
5_numerical_facilities order_statistics_imp.hpp: Avoid -Wall warnings. 2010-06-08 00:45:02 +00:00
6_containers range_access.cc: Fix copying permission statement. 2012-11-01 23:20:37 +00:00
7_regular_expressions Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
8_c_compatibility re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained) 2011-11-12 15:57:03 +00:00
headers [multiple changes] 2011-02-12 18:30:50 +00:00