This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java/5537: Error compiling simple bytecode with jsr


The following reply was made to PR java/5537; it has been noted by GNATS.

From: Daniel Bonniot <Daniel.Bonniot@inria.fr>
To: tromey@redhat.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/5537: Error compiling simple bytecode with jsr
Date: Thu, 31 Jan 2002 10:56:09 +0100

 Tom Tromey wrote:
 
 > 
 > I've looked at this.  gcj still rejects the bytecode in this PR.  I
 > think it does so incorrectly; the bytecode looks fine to me and both
 > `java' and `gij' pass it.
 > 
 > How did you generate the bytecode?  
 
 
 The bytecode is the output of Sun/Blackdown javac 1.3.1 on the given A.java
 The error was first found with my own compiler (http://nice.sf.net) that 
 generates java bytecode and now optionally calls gcj on the ouput.
 
 > If you did so with gcj, note that
 > gcj 3.1 no longer generates the same bytecode.  Now the method is
 > simply `return'.  
 
 
 I suppose this is only an optim due to the fact that the finally block 
 is empty. I tried to find the smallest case that triggers the problem.
 
 I have gcj 3.0.3 and it works fine on the source. I haven't tried to 
 make it produce bytecode.
 
  > This doesn't affect the fact that this is a gcj bug.
 
 Right.
 


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