diff options
author | Andrew Haley <aph@redhat.com> | 2002-09-05 13:24:41 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2002-09-05 13:24:41 +0000 |
commit | b139fcfd92b72e68b12bead6d3486fb737b47193 (patch) | |
tree | c4640e65d1a3edd785878c258a17aaf2680193ca /gcc/java/except.c | |
parent | f373d4c761d558910774264f085e117f6c8cf791 (diff) | |
download | gcc-b139fcfd92b72e68b12bead6d3486fb737b47193.zip gcc-b139fcfd92b72e68b12bead6d3486fb737b47193.tar.gz gcc-b139fcfd92b72e68b12bead6d3486fb737b47193.tar.bz2 |
verify.c (verify_jvm_instructions): Allow exception handler inside code that is being protected, but generate a warning.
2002-08-28 Andrew Haley <aph@redhat.com>
* verify.c (verify_jvm_instructions): Allow exception handler
inside code that is being protected, but generate a warning.
* except.c (link_handler): Initialize `expanded' in new eh_range.
(binding_depth, is_class_level, current_pc): Declare extern.
From-SVN: r56842
Diffstat (limited to 'gcc/java/except.c')
-rw-r--r-- | gcc/java/except.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/java/except.c b/gcc/java/except.c index ef773e4..614587d 100644 --- a/gcc/java/except.c +++ b/gcc/java/except.c @@ -61,9 +61,9 @@ static struct eh_range *cache_next_child; struct eh_range whole_range; #if defined(DEBUG_JAVA_BINDING_LEVELS) -int binding_depth; -int is_class_level; -int current_pc; +extern int binding_depth; +extern int is_class_level; +extern int current_pc; extern void indent (); #endif @@ -172,6 +172,7 @@ link_handler (range, outer) h->handlers = build_tree_list (TREE_PURPOSE (range->handlers), TREE_VALUE (range->handlers)); h->next_sibling = NULL; + h->expanded = 0; /* Restart both from the top to avoid having to make this function smart about reentrancy. */ link_handler (h, &whole_range); |