OSDN Git Service

PR libstdc++/10606
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Feb 2005 02:35:25 +0000 (02:35 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Feb 2005 02:35:25 +0000 (02:35 +0000)
commitb6b3f7b76d292e10aab37138dbfe4bb95fae2baa
tree020d4a99713b8ea013495d485fc2c96d2a5d328e
parentab43616c94d42411f6e73f7eb5394bb318f19059
    PR libstdc++/10606
gcc/cp/
        * except.c (do_get_exception_ptr): New.
        (expand_start_catch_block): Use it.
libstdc++/
        * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
        * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
        uncaughtExceptions here instead of ...
        * libsupc++/eh_throw.cc (__cxa_throw) ... here.
        (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
        * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
        (__cxa_get_exception_ptr): New.
        * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95262 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/testsuite/g++.dg/eh/uncaught1.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/config/linker-map.gnu
libstdc++-v3/libsupc++/eh_alloc.cc
libstdc++-v3/libsupc++/eh_catch.cc
libstdc++-v3/libsupc++/eh_throw.cc
libstdc++-v3/libsupc++/unwind-cxx.h