summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libsupc++/eh_call.cc
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-22 18:59:41 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-22 18:59:41 +0000
commit8a9b6c4a4eb03cb243d67292ac3f1e15b968d04a (patch)
tree01410eed666adb2bd76656153f4d120d2779ef84 /libstdc++-v3/libsupc++/eh_call.cc
parent5ffba8cb5961bdda96bb22521beff3c2eb64d2c9 (diff)
downloadppe42-gcc-8a9b6c4a4eb03cb243d67292ac3f1e15b968d04a.tar.gz
ppe42-gcc-8a9b6c4a4eb03cb243d67292ac3f1e15b968d04a.zip
2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
Revert again the N2179 patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139497 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