diff options
author | Per Bothner <per@bothner.com> | 2002-02-22 05:57:43 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2002-02-22 05:57:43 -0800 |
commit | 453c182f826bfda58db799c6dd5b2e2701925c7d (patch) | |
tree | 58fb077a2e2ebd54f1967ab05f5cbb14a5893aae /gcc | |
parent | 0bf188159d50fe4a16a6fed99e67b00decb44372 (diff) | |
download | gcc-453c182f826bfda58db799c6dd5b2e2701925c7d.zip gcc-453c182f826bfda58db799c6dd5b2e2701925c7d.tar.gz gcc-453c182f826bfda58db799c6dd5b2e2701925c7d.tar.bz2 |
parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$ (otherwise generate_bytecode_insns...
* parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call
to finit$ (otherwise generate_bytecode_insns drops it). However, we
don't need to set it on the COMPOUND_EXPR - the caller does that.
From-SVN: r49966
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/java/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/java/parse.y | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index f1f93d3..8bb88e6 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2002-02-20 Per Bothner <per@bothner.com> + + * parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call + to finit$ (otherwise generate_bytecode_insns drops it). However, we + don't need to set it on the COMPOUND_EXPR - the caller does that. + 2002-02-20 Nic Ferrier <nferrier@tapsellferrier.co.uk> * gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 7b900cd..9f14076 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -10514,9 +10514,9 @@ patch_method_invocation (patch, primary, where, from_super, /* Generate the code used to initialize fields declared with an initialization statement and build a compound statement along with the super constructor invocation. */ + CAN_COMPLETE_NORMALLY (patch) = 1; patch = build (COMPOUND_EXPR, void_type_node, patch, java_complete_tree (finit_call)); - CAN_COMPLETE_NORMALLY (patch) = 1; } return patch; } |