mirror of git://gcc.gnu.org/git/gcc.git
eh_ptr.cc (__gxx_dependent_exception_cleanup): Call __cxa_free_dependent_exception.
2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at> * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call __cxa_free_dependent_exception. From-SVN: r139402
This commit is contained in:
parent
406f353887
commit
eb5712c966
|
@ -1,3 +1,8 @@
|
||||||
|
2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
|
||||||
|
|
||||||
|
* libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
|
||||||
|
__cxa_free_dependent_exception.
|
||||||
|
|
||||||
2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
|
2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
* include/bits/char_traits.h (char_traits<char16_t>::
|
* include/bits/char_traits.h (char_traits<char16_t>::
|
||||||
|
|
|
@ -199,6 +199,8 @@ __gxx_dependent_exception_cleanup (_Unwind_Reason_Code code,
|
||||||
if (code != _URC_FOREIGN_EXCEPTION_CAUGHT && code != _URC_NO_REASON)
|
if (code != _URC_FOREIGN_EXCEPTION_CAUGHT && code != _URC_NO_REASON)
|
||||||
__terminate (header->terminateHandler);
|
__terminate (header->terminateHandler);
|
||||||
|
|
||||||
|
__cxa_free_dependent_exception (dep);
|
||||||
|
|
||||||
if (__gnu_cxx::__exchange_and_add_dispatch (&header->referenceCount, -1) == 0)
|
if (__gnu_cxx::__exchange_and_add_dispatch (&header->referenceCount, -1) == 0)
|
||||||
{
|
{
|
||||||
if (header->exceptionDestructor)
|
if (header->exceptionDestructor)
|
||||||
|
|
Loading…
Reference in New Issue