This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: build error (2)



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 ();
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]