summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/cp/exception.cc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/cp/exception.cc')
-rw-r--r--contrib/gcc/cp/exception.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/cp/exception.cc b/contrib/gcc/cp/exception.cc
index 8e8f35f..59342c6 100644
--- a/contrib/gcc/cp/exception.cc
+++ b/contrib/gcc/cp/exception.cc
@@ -247,10 +247,10 @@ __cp_pop_exception (cp_eh_info *p)
if (p->cleanup)
/* 2 is a magic value for destructors; see build_delete(). */
- p->cleanup (p->value, 2);
+ p->cleanup (p->original_value, 2); // value may have been adjusted.
if (! __is_pointer (p->type))
- __eh_free (p->original_value); // value may have been co-erced.
+ __eh_free (p->original_value); // value may have been adjusted.
__eh_free (p);
}
OpenPOWER on IntegriCloud