diff options
author | Richard Henderson <rth@redhat.com> | 2005-02-18 18:35:25 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-02-18 18:35:25 -0800 |
commit | 396090773cfa29f9a5973a39a61dfc8d001b9633 (patch) | |
tree | 020d4a99713b8ea013495d485fc2c96d2a5d328e /libstdc++-v3/config | |
parent | 5ff489f15bb5916615fbac14fe7fc843d32a6054 (diff) | |
download | gcc-396090773cfa29f9a5973a39a61dfc8d001b9633.zip gcc-396090773cfa29f9a5973a39a61dfc8d001b9633.tar.gz gcc-396090773cfa29f9a5973a39a61dfc8d001b9633.tar.bz2 |
re PR libstdc++/10606 (uncaught_exception() returns false too early)
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.
From-SVN: r95262
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/linker-map.gnu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/config/linker-map.gnu b/libstdc++-v3/config/linker-map.gnu index df3c674..d7d2914 100644 --- a/libstdc++-v3/config/linker-map.gnu +++ b/libstdc++-v3/config/linker-map.gnu @@ -410,3 +410,9 @@ CXXABI_1.3 { local: *; }; + +CXXABI_1.3.1 { + + __cxa_get_exception_ptr; + +} CXXABI_1.3; |