OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-09-28 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
libsupc++
/
eh_terminate.cc
diff --git
a/libstdc++-v3/libsupc++/eh_terminate.cc
b/libstdc++-v3/libsupc++/eh_terminate.cc
index
e03c037
..
f87f7b5
100644
(file)
--- 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