]> gcc.gnu.org Git - gcc.git/commitdiff
* exception.cc (__cp_pop_exception): Cleanup the original object.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 8 Mar 2000 17:16:17 +0000 (17:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 8 Mar 2000 17:16:17 +0000 (17:16 +0000)
From-SVN: r32426

gcc/cp/ChangeLog
gcc/cp/exception.cc

index fcf487593ef48f7b799fd70bdedea9a07d4c0aae..e6d2e99ebca380f636bcb13d6e1458ec6d4a6f98 100644 (file)
@@ -1,3 +1,7 @@
+2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * exception.cc (__cp_pop_exception): Cleanup the original object.
+
 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
 
        * decl.c (grok_op_properties): Merge conversion to void warning
index e350e63894895316f3875b86f80ebecb5a8e84ae..d6b47d90d0aee4267362edf8c0085108fcb3ff01 100644 (file)
@@ -252,10 +252,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);
 }
This page took 0.088739 seconds and 5 git commands to generate.