gcc/libstdc++-v3/libsupc++
Paolo Carlini 8535715d0f re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general)
2011-12-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/51438
	* libsupc++/nested_exception.h (nested_exception::~nested_exception):
	Declare noexcept.
	* libsupc++/nested_exception.cc: Adjust.
	* testsuite/18_support/nested_exception/51438.cc: New.
	* testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust.
	* testsuite/18_support/nested_exception/rethrow_if_nested.cc:
	Likewise.

	* src/shared_ptr.cc: Use noexcept where appropriate.
	* include/std/system_error: Likewise.
	* include/std/functional: Likewise.
	* include/bits/shared_ptr_base.h: Likewise.
	* src/stdexcept.cc: Use _GLIBCXX_USE_NOEXCEPT where appropriate.
	* include/std/stdexcept: Likewise.
	* libsupc++/bad_cast.cc: Likewise.
	* libsupc++/bad_typeid.cc: Likewise.
	* libsupc++/eh_exception.cc: Likewise.
	* libsupc++/typeinfo: Likewise.
	* libsupc++/exception: Likewise.
	* libsupc++/eh_ptr.cc: Likewise.
	* libsupc++/bad_alloc.cc: Likewise.
	* libsupc++/exception_ptr.h: Likewise.

	* include/std/chrono: Use noexcept where appropriate.
	* src/chrono.cc: Likewise.

From-SVN: r182064
2011-12-06 20:03:25 +00:00
..
array_type_info.cc
atexit_arm.cc
atomic_lockfree_defines.h acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
bad_alloc.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
bad_cast.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
bad_typeid.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
class_type_info.cc
cxxabi_forced.h
cxxabi.h re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
del_op.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opv.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opvnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
dyncast.cc
eh_alloc.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_arm.cc arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. 2011-09-13 12:48:33 +00:00
eh_aux_runtime.cc
eh_call.cc arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. 2011-09-13 12:48:33 +00:00
eh_catch.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_exception.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
eh_globals.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_personality.cc arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. 2011-09-13 12:48:33 +00:00
eh_ptr.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
eh_term_handler.cc
eh_terminate.cc
eh_throw.cc acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
eh_tm.cc re PR libstdc++/51181 (libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux) 2011-11-17 17:38:48 -08:00
eh_type.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_unex_handler.cc
enum_type_info.cc
exception re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
exception_defines.h
exception_ptr.h re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
function_type_info.cc
fundamental_type_info.cc
guard_error.cc
guard.cc acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
hash_bytes.cc
hash_bytes.h
initializer_list initializer_list: Do not declare anything if __GXX_EXPERIMENTAL_CXX0X__ is not defined. 2011-12-05 23:16:16 +00:00
Makefile.am acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
Makefile.in acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
nested_exception.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
nested_exception.h re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
new re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_handler.cc
new_op.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opv.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opvnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
pbase_type_info.cc
pmem_type_info.cc
pointer_type_info.cc
pure.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
si_class_type_info.cc
tinfo2.cc
tinfo.cc tinfo.cc (type_info::operator==): Test __name instead of name(). 2011-09-27 06:03:58 +00:00
tinfo.h
typeinfo re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
unwind-cxx.h Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
vec.cc
vmi_class_type_info.cc
vterminate.cc