]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
authorJason Merrill <jason@yorick.cygnus.com>
Mon, 1 Dec 1997 02:56:55 +0000 (02:56 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 1 Dec 1997 02:56:55 +0000 (19:56 -0700)
From-SVN: r16863

gcc/ChangeLog
gcc/stmt.c

index 789ece6738b55a38cfe1bcfee52361845907b9e5..f43343cd14921c52d8705b8599e2e9bab777dc5c 100644 (file)
@@ -1,3 +1,7 @@
+Sun Nov 30 19:59:20 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
+
 Sat Nov 29 12:44:57 1997  David Edelsohn  <edelsohn@mhpcc.edu>
 
        * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
index 4cae1ce3bf3ee572450e312e88cd92cd71c7014d..2fb2d313d826adb053763558e542a34c421b048c 100644 (file)
@@ -3987,6 +3987,8 @@ expand_decl_cleanup (decl, cleanup)
       if (! using_eh_for_cleanups_p
          || expand_eh_region_start_tree (decl, cleanup))
        TREE_ADDRESSABLE (t) = 1;
+      /* If that started a new EH region, we're in a new block.  */
+      thisblock = block_stack;
 
       if (cond_context)
        {