diff options
| author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-26 02:50:37 +0000 |
|---|---|---|
| committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-26 02:50:37 +0000 |
| commit | b018179762e7985b8b8a5a9744914cec182d349e (patch) | |
| tree | 0d330616e843a2dfac2a74a36c8637797f968877 /gcc/java/jcf-write.c | |
| parent | a44d41cb40ae91549ba6ae93a2b744bb19553586 (diff) | |
| download | ppe42-gcc-b018179762e7985b8b8a5a9744914cec182d349e.tar.gz ppe42-gcc-b018179762e7985b8b8a5a9744914cec182d349e.zip | |
Fri Feb 25 18:47:25 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR:
initialize locals to avoid warnings. Local `exception_type' moved
into if statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32161 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-write.c')
| -rw-r--r-- | gcc/java/jcf-write.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c index 45552d3d47a..0745d5943d6 100644 --- a/gcc/java/jcf-write.c +++ b/gcc/java/jcf-write.c @@ -2302,7 +2302,10 @@ generate_bytecode_insns (exp, target, state) int worthwhile_finally = 1; tree try_block = TREE_OPERAND (exp, 0); tree finally = TREE_OPERAND (exp, 1); - tree return_link, exception_type, exception_decl; + tree return_link, exception_decl; + + finished_label = finally_label = start_label = NULL; + return_link = exception_decl = NULL_TREE; /* If the finally clause happens to be empty, set a flag so we remember to just skip it. */ @@ -2311,6 +2314,7 @@ generate_bytecode_insns (exp, target, state) if (worthwhile_finally) { + tree exception_type; return_link = build_decl (VAR_DECL, NULL_TREE, return_address_type_node); exception_type = build_pointer_type (throwable_type_node); |

