aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/libstdc++-v3/libsupc++/eh_alloc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/libstdc++-v3/libsupc++/eh_alloc.cc')
-rw-r--r--gcc-4.8/libstdc++-v3/libsupc++/eh_alloc.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc-4.8/libstdc++-v3/libsupc++/eh_alloc.cc b/gcc-4.8/libstdc++-v3/libsupc++/eh_alloc.cc
index 9b3fb4db1..2fdc068ae 100644
--- a/gcc-4.8/libstdc++-v3/libsupc++/eh_alloc.cc
+++ b/gcc-4.8/libstdc++-v3/libsupc++/eh_alloc.cc
@@ -129,12 +129,6 @@ __cxxabiv1::__cxa_allocate_exception(std::size_t thrown_size) _GLIBCXX_NOTHROW
std::terminate ();
}
- // We have an uncaught exception as soon as we allocate memory. This
- // yields uncaught_exception() true during the copy-constructor that
- // initializes the exception object. See Issue 475.
- __cxa_eh_globals *globals = __cxa_get_globals ();
- globals->uncaughtExceptions += 1;
-
memset (ret, 0, sizeof (__cxa_refcounted_exception));
return (void *)((char *)ret + sizeof (__cxa_refcounted_exception));
@@ -191,12 +185,6 @@ __cxxabiv1::__cxa_allocate_dependent_exception() _GLIBCXX_NOTHROW
std::terminate ();
}
- // We have an uncaught exception as soon as we allocate memory. This
- // yields uncaught_exception() true during the copy-constructor that
- // initializes the exception object. See Issue 475.
- __cxa_eh_globals *globals = __cxa_get_globals ();
- globals->uncaughtExceptions += 1;
-
memset (ret, 0, sizeof (__cxa_dependent_exception));
return ret;