OSDN Git Service

PR libstdc++/511135
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Dec 2011 13:24:30 +0000 (13:24 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Dec 2011 13:24:30 +0000 (13:24 +0000)
commit9deca8153ebece8eae0aac6ab04d6e19c22b7ea1
treefb256e22db988e4e02527dbd9b878d0a9519f86b
parent7229b9d79331ca294261889b9f924dd86abdbb00
PR libstdc++/511135
* libsupc++/cxxabi.h (__cxxabi_dtor_type): New type.
(__cxa_throw): Use it for destructor-argument.
* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
* libsupc++/unwind-cxx.h (__cxa_exception): Change type of member
exceptionDestructor to __cxxabi_dtor_type.
* config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_THISCALL_ON_DTOR):
Define.
(__cxa_dtor_type): Declare target secific type variant.
* config/os/mingw32/os_defines.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182237 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/config/os/mingw32-w64/os_defines.h
libstdc++-v3/config/os/mingw32/os_defines.h
libstdc++-v3/libsupc++/cxxabi.h
libstdc++-v3/libsupc++/eh_throw.cc
libstdc++-v3/libsupc++/unwind-cxx.h