This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
java fix for sjlj exceptions change
- To: gcc-patches at gcc dot gnu dot org
- Subject: java fix for sjlj exceptions change
- From: Anthony Green <green at cygnus dot com>
- Date: Sun, 12 Dec 1999 15:14:31 -0800
I'm committing this obviously correct change:
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.
Index: gcc/java/check-init.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/check-init.c,v
retrieving revision 1.15
diff -u -r1.15 check-init.c
--- check-init.c 1999/10/31 03:36:38 1.15
+++ check-init.c 1999/12/12 23:11:44
@@ -674,7 +674,8 @@
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;
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California