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
This commit is contained in:
Anthony Green 1999-12-12 23:19:04 +00:00 committed by Anthony Green
parent 6a50bd919b
commit 38b58895a4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
Fri Dec 10 16:13:48 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.h (EXPR_WFL_QUALIFICATION): Temporary uses the third

View File

@ -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;