gcj build problems (again)
Alexandre Petit-Bianco
apbianco@cygnus.com
Mon Nov 13 14:20:00 GMT 2000
Oskar Liljeblad writes:
> It seems that the problem is caused by the creation of an anonymous
> class (based on GetField) in the readFields method.
Out of curiosity, can you try to apply the seemingly stupid patch?
./A
Index: parse.y
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/parse.y,v
retrieving revision 1.216
diff -u -p -r1.216 parse.y
--- parse.y 2000/10/13 06:26:45 1.216
+++ parse.y 2000/11/13 22:19:08
@@ -7133,7 +7140,8 @@ static void
end_artificial_method_body (mdecl)
tree mdecl;
{
- BLOCK_EXPR_BODY (DECL_FUNCTION_BODY (mdecl)) = exit_block ();
+ tree m = exit_block ();
+ BLOCK_EXPR_BODY (DECL_FUNCTION_BODY (mdecl)) = m;
exit_block ();
}
@@ -8409,8 +8417,12 @@ build_dot_class_method_invocation (type)
More information about the Java
mailing list