gcc/libstdc++-v3/testsuite/20_util
Jonathan Wakely 7b55fa54d4 re PR libstdc++/63840 (std::function copy constructor deletes an uninitialized pointer if new fails)
PR libstdc++/63840
	* include/std/functional (function::function(const function&)): Set
	_M_manager after operations that might throw.
	* include/tr1/functional (function::function(const function&),
	function::function(_Functor, _Useless)): Likewise.
	* testsuite/20_util/function/63840.cc: New.
	* testsuite/tr1/3_function_objects/function/63840.cc: New.

From-SVN: r218215
2014-12-01 13:49:20 +00:00
..
add_const limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
add_cv limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
add_lvalue_reference libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
add_pointer limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
add_rvalue_reference libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
add_volatile limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
addressof libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
align 1.cc: Add dg-require-stdint. 2014-10-14 18:14:07 +01:00
aligned_storage libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
aligned_union limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
alignment_of Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
allocator Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
allocator_traits libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
auto_ptr call.c (struct conversion_info): Rename 'from_type' to 'from'. 2014-05-14 12:47:54 -04:00
bad_function_call libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
bind Define __void_t and SFINAE-friendly iterator_traits. 2014-11-11 23:57:35 +00:00
common_type/requirements libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
conditional/requirements libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
decay/requirements libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
declval/requirements Make std::mem_fn work with varargs functions. 2014-11-11 23:38:34 +00:00
default_delete libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
duration libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
duration_cast libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
enable_if/requirements libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
enable_shared_from_this libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
exchange limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
extent Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
forward libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
function re PR libstdc++/63840 (std::function copy constructor deletes an uninitialized pointer if new fails) 2014-12-01 13:49:20 +00:00
function_objects Make std::mem_fn work with varargs functions. 2014-11-11 23:38:34 +00:00
has_trivial_copy_assign libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
has_trivial_copy_constructor libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
has_trivial_default_constructor libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
has_virtual_destructor Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
hash libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
headers libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
integer_sequence limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
integral_constant limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
is_abstract Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_arithmetic Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_array Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_assignable libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_base_of Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_class Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_compound libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_const Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_constructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_convertible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_copy_assignable libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_copy_constructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_default_constructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_destructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_empty Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_enum Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_final type_traits: Add is_final<> type trait for C++14. 2014-10-01 11:59:29 +00:00
is_floating_point libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_function libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_fundamental libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_integral libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_literal_type libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_lvalue_reference libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_member_function_pointer libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_member_object_pointer libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_member_pointer libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_move_assignable libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_move_constructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_nothrow_assignable libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_nothrow_constructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_nothrow_copy_assignable libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_nothrow_copy_constructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_nothrow_default_constructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_nothrow_destructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_nothrow_move_assignable libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_nothrow_move_constructible libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_null_pointer Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_object libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_pod libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_pointer Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_polymorphic Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_reference libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_rvalue_reference libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_same Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_scalar libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_signed libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_standard_layout libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_trivial libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_trivially_assignable re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2014-10-09 08:37:26 +00:00
is_trivially_constructible re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2014-10-09 08:37:26 +00:00
is_trivially_copy_assignable re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2014-10-09 08:37:26 +00:00
is_trivially_copy_constructible re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2014-10-09 08:37:26 +00:00
is_trivially_copyable re PR c++/63959 (G++ misreports volatile int as trivially copyable) 2014-11-20 16:51:04 -05:00
is_trivially_default_constructible re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2014-10-09 08:37:26 +00:00
is_trivially_destructible Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_trivially_move_assignable re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2014-10-09 08:37:26 +00:00
is_trivially_move_constructible re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2014-10-09 08:37:26 +00:00
is_union Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_unsigned libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
is_void Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
is_volatile Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
make_signed/requirements Make std::mem_fn work with varargs functions. 2014-11-11 23:38:34 +00:00
make_unsigned/requirements Make std::mem_fn work with varargs functions. 2014-11-11 23:38:34 +00:00
move libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
move_if_noexcept libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
owner_less libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
pair libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
pointer_traits libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
rank Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
ratio libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
raw_storage_iterator/requirements Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
reference_wrapper Define __void_t and SFINAE-friendly iterator_traits. 2014-11-11 23:57:35 +00:00
remove_all_extents limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
remove_const limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
remove_cv limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
remove_extent limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
remove_pointer limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
remove_reference libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
remove_volatile limits: Remove stray semicolon. 2014-10-15 12:03:20 +00:00
result_of libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
scoped_allocator libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
shared_ptr std::shared_ptr atomic operations 2014-11-12 23:55:11 +00:00
specialized_algorithms libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
steady_clock libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
system_clock libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
time_point libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
time_point_cast libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
tuple libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
typeindex libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
underlying_type/requirements libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
unique_ptr Add -Wno-deprecated to dg-options. 2014-11-12 10:32:17 +00:00
uses_allocator libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
weak_ptr libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
rel_ops.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
temporary_buffer.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00