Patch: RFA: fix PR java/21519

Andrew Haley aph@redhat.com
Sun May 15 09:19:00 GMT 2005


Tom Tromey writes:
 > This patch fixes PR java/21519.
 > 
 > There is a small bug in save_expr handling when writing bytecode.
 > emit_load calls NOTE_PUSH for us, so we don't need to call it
 > ourselves.  This only gets triggered by "gcj -C -O2".
 > 
 > Test case included.  Tested on x86 FC2, including jacks, with no
 > regressions.  Ok for trunk and 4.0 branch?
 > 
 > Tom
 > 
 > Index: gcc/java/ChangeLog
 > from  Tom Tromey  <tromey@redhat.com>
 > 
 > 	PR java/21519:
 > 	* jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Don't call
 > 	NOTE_PUSH.
 > 

OK.

Andrew.



More information about the Java-patches mailing list