summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libsupc++/eh_call.cc
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-13 20:08:55 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-13 20:08:55 +0000
commit1e98231f1669256fbdd37d6ff8a7020c85dcc4cc (patch)
tree19b97d8b8ea92120d16460bdab99577fb6df7297 /libstdc++-v3/libsupc++/eh_call.cc
parent0e3bb11d083daeba5063be56f8620b5757adfb69 (diff)
downloadppe42-gcc-1e98231f1669256fbdd37d6ff8a7020c85dcc4cc.tar.gz
ppe42-gcc-1e98231f1669256fbdd37d6ff8a7020c85dcc4cc.zip
2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
Revert the last patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139074 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libsupc++/eh_call.cc')
-rw-r--r--libstdc++-v3/libsupc++/eh_call.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/libsupc++/eh_call.cc b/libstdc++-v3/libsupc++/eh_call.cc
index c0bced99533..edf62188a6b 100644
--- a/libstdc++-v3/libsupc++/eh_call.cc
+++ b/libstdc++-v3/libsupc++/eh_call.cc
@@ -1,5 +1,5 @@
// -*- C++ -*- Helpers for calling unextected and terminate
-// Copyright (C) 2001, 2002, 2003, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -125,7 +125,7 @@ __cxa_call_unexpected(void* exc_obj_in)
__cxa_eh_globals* globals = __cxa_get_globals_fast();
__cxa_exception* new_xh = globals->caughtExceptions;
- void* new_ptr = __gxx_get_object_from_ambiguous_exception (new_xh);
+ void* new_ptr = new_xh + 1;
const std::type_info* catch_type;
int n;
bool bad_exception_allowed = false;
OpenPOWER on IntegriCloud