building libgcj on irix 6.5

Anthony Green green@cygnus.com
Sun Dec 12 15:13:00 GMT 1999


Andrew wrote:
> 1999-11-17  Andrew Haley  <aph@cygnus.com>
> 
> 	* parse.h (BUILD_THROW): Add support for sjlj-exceptions.
> 	decl.c (init_decl_processing): Add _Jv_Sjlj_Throw.
> 	expr.c (build_java_athrow): Add support for sjlj-exceptions.
> 	java-tree.h: Ditto.
> 	jcf-write.c: Ditto.	

You'll also need:

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


More information about the Java mailing list