re PR libstdc++/60612 (Throwing exception, catching and rethrowing (std::exception_pt...
authorJonathan Wakely <jwakely@redhat.com>
Thu, 27 Mar 2014 18:07:25 +0000 (18:07 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 27 Mar 2014 18:07:25 +0000 (18:07 +0000)
commit3941b26033f10ba7f65828d600a8ac35dfa16dc9
treec69ac28addcd7b8735559fb38475984fa75e7e49
parent324dc401fe695443909a8dcdf7e25fa9b5661fb4
re PR libstdc++/60612 (Throwing exception, catching and rethrowing (std::exception_ptr) in destructor leads to segfault)

PR libstdc++/60612
* libsupc++/eh_ptr.cc: Assert __cxa_dependent_exception layout is
compatible with __cxa_exception.
* libsupc++/unwind-cxx.h (__cxa_dependent_exception): Add padding.
Fix typos in comments.
* testsuite/18_support/exception_ptr/60612-terminate.cc: New.
* testsuite/18_support/exception_ptr/60612-unexpected.cc: New.

From-SVN: r208871
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/eh_ptr.cc
libstdc++-v3/libsupc++/unwind-cxx.h
libstdc++-v3/testsuite/18_support/exception_ptr/60612-terminate.cc [new file with mode: 0644]
libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc [new file with mode: 0644]