diff options
Diffstat (limited to 'libstdc++-v3/libsupc++/eh_terminate.cc')
-rw-r--r-- | libstdc++-v3/libsupc++/eh_terminate.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libstdc++-v3/libsupc++/eh_terminate.cc b/libstdc++-v3/libsupc++/eh_terminate.cc index e03c037412a..f87f7b51d61 100644 --- a/libstdc++-v3/libsupc++/eh_terminate.cc +++ b/libstdc++-v3/libsupc++/eh_terminate.cc @@ -34,12 +34,13 @@ using namespace __cxxabiv1; void __cxxabiv1::__terminate (std::terminate_handler handler) throw () { - try { - handler (); - std::abort (); - } catch (...) { - std::abort (); - } + __try + { + handler (); + std::abort (); + } + __catch(...) + { std::abort (); } } void |