aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
authorAnthony Green <green@cygnus.com>1999-12-12 23:19:04 +0000
committerAnthony Green <green@gcc.gnu.org>1999-12-12 23:19:04 +0000
commit38b58895a4a73c3584de9606206be02c564e54b6 (patch)
tree8332c1a4870622ecea9e616a22cadd0223fab547 /gcc/java/check-init.c
parent6a50bd919b891a53c32fc4753e79141edd89a031 (diff)
downloadgcc-38b58895a4a73c3584de9606206be02c564e54b6.zip
gcc-38b58895a4a73c3584de9606206be02c564e54b6.tar.gz
gcc-38b58895a4a73c3584de9606206be02c564e54b6.tar.bz2
check-init.c (check_init): Take into account both types of `throw's when checking for uninitialized variables.
1999-12-15 Anthony Green <green@cygnus.com> * check-init.c (check_init): Take into account both types of `throw's when checking for uninitialized variables. From-SVN: r30879
Diffstat (limited to 'gcc/java/check-init.c')
-rw-r--r--gcc/java/check-init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c
index dbecde9..dca49ce 100644
--- a/gcc/java/check-init.c
+++ b/gcc/java/check-init.c
@@ -674,7 +674,8 @@ check_init (exp, before)
for ( ; x != NULL_TREE; x = TREE_CHAIN (x))
check_init (TREE_VALUE (x), before);
- if (func == throw_node)
+ if (func == throw_node[0]
+ || func == throw_node[1])
goto never_continues;
}
break;