Infinitely long compilation

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Mar 27 23:34:00 GMT 2002


Martin Kahlert wrote:

>Looks very different to me.
>
>I look into it a bit deeper, now, seems to be something inside parse.y(do_resolve_class).
>

Hmm, if this is a recent regression, can you try this fix for a bug in 
my last patch, which I'm about to check in:

Index: parse.y
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/parse.y,v
retrieving revision 1.366
diff -u -r1.366 parse.y
--- parse.y     2002/03/28 04:28:22     1.366
+++ parse.y     2002/03/28 07:33:51
@@ -7034,7 +7034,8 @@
 resolve_package (pkg, next, type_name)
      tree pkg, *next, *type_name;
 {
-  tree current, decl;
+  tree current;
+  tree decl = NULL_TREE;
   *type_name = NULL_TREE;
 
   /* The trick is to determine when the package name stops and were


regards

Bryce.




More information about the Java mailing list