re PR target/51135 (SIGSEGV during exception cleanup on win32)
authorKai Tietz <ktietz@gcc.gnu.org>
Fri, 16 Dec 2011 18:43:06 +0000 (19:43 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Fri, 16 Dec 2011 18:43:06 +0000 (19:43 +0100)
commit2ecb85c86b62f9daa50b8fd19096ed9f80ede9e4
tree235420959ce49d4349d33b9c1a7eb34ef39e0a60
parent134f529521772583a1249809157d14f298a1440d
re PR target/51135 (SIGSEGV during exception cleanup on win32)

        PR libstdc++/51135
        * libsupc++/unwind-cxx.h (__cxa_exception): Mark
        exceptionDestructor by _GLIBCXX_CDTOR_CALLABI.
        * libsupc++/eh_throw.cc (__cxa_throw): Mark destructor
        function argument by _GLIBCXX_CDTOR_CALLABI.
        * libsupc++/cxxabi.h (__cxa_throw): Likewise.
        (_GLIBCXX_CDTOR_CALLABI): Add empty default
        definition.
        * config/os/mingw32-w64/os_defines.h (_GLIBCXX_CDTOR_CALLABI): Define
        for IA-32 target as __thiscall.
        * config/os/mingw32/os_defines.h (_GLIBCXX_CDTOR_CALLABI): Likewise.

From-SVN: r182410
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