parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
authorPer Bothner <bothner@gcc.gnu.org>
Thu, 3 Dec 1998 15:58:20 +0000 (07:58 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Thu, 3 Dec 1998 15:58:20 +0000 (07:58 -0800)
8
* parse,y (patch_synchronized_statement):  Set CAN_COMPLETE_NORMALLY.

From-SVN: r24074

gcc/java/parse.y

index 807ed9c..2f311cd 100644 (file)
@@ -10547,7 +10547,9 @@ patch_synchronized_statement (node, wfl_op1)
   catch_all = build1 (CATCH_EXPR, void_type_node, catch_all);
 
   /* TRY-CATCH statement */
-  return build (TRY_EXPR, void_type_node, try_block, catch_all, NULL_TREE);
+  compound = build (TRY_EXPR, void_type_node, try_block, catch_all, NULL_TREE);
+  CAN_COMPLETE_NORMALLY (compound) = CAN_COMPLETE_NORMALLY (block);
+  return compound;
 }
 
 /* 14.16 The throw Statement */