From 38b58895a4a73c3584de9606206be02c564e54b6 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sun, 12 Dec 1999 23:19:04 +0000 Subject: [PATCH] check-init.c (check_init): Take into account both types of `throw's when checking for uninitialized variables. 1999-12-15 Anthony Green * check-init.c (check_init): Take into account both types of `throw's when checking for uninitialized variables. From-SVN: r30879 --- gcc/java/ChangeLog | 5 +++++ gcc/java/check-init.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 66849c3905b..7406aeb76e1 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +1999-12-15 Anthony Green + + * check-init.c (check_init): Take into account both types of + `throw's when checking for uninitialized variables. + Fri Dec 10 16:13:48 1999 Alexandre Petit-Bianco * parse.h (EXPR_WFL_QUALIFICATION): Temporary uses the third diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c index dbecde9c618..dca49ce3814 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; -- 2.30.2