build error (2)
Alexandre Petit-Bianco
apbianco@cygnus.com
Thu Nov 30 14:06:00 GMT 2000
Oskar Liljeblad writes:
> Ok, I downloaded & built the latest gcj (which contained the patch
> that Alexandre recommended). This time it is failing on
You've been building gcj with a previously installed egcs which seems
to miscompile one function. Rebuild gcj with the default compiler or
apply this work around patch to the compiler (by reading it you'll
understand that I think it's about egcs miscompiling gcj.)
I'd like to find some time to investigate this thing. It's been biting
a lot of people lately.
./A
Index: parse.y
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/parse.y,v
retrieving revision 1.230
diff -u -p -r1.230 parse.y
--- parse.y 2000年11月23日 06:04:16 1.230
+++ parse.y 2000年11月30日 22:04:45
@@ -7164,7 +7164,8 @@ static void
end_artificial_method_body (mdecl)
tree mdecl;
{
- BLOCK_EXPR_BODY (DECL_FUNCTION_BODY (mdecl)) = exit_block ();
+ tree b = exit_block ();
+ BLOCK_EXPR_BODY (DECL_FUNCTION_BODY (mdecl)) = b;
exit_block ();
}
More information about the Java
mailing list