This is the mail archive of the gcc-patches@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: Patch: RFA: Fix PR java/21540


Tom Tromey writes:
 > >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
 > 
 > Tom> This patch fixes PR java/21540.
 > 
 > After submitting this I ran across PR 13788, which is in the same area
 > as 21540.  This revised patch fixes both bugs.
 > 
 > The same caveats apply to this as to the original patch.
 > 
 > Tested on x86 FC2 including jacks.
 > Ok?
 > 
 > Tom
 > 
 > Index: libjava/ChangeLog
 > from  Tom Tromey  <tromey@redhat.com>
 > 
 > 	PR java/21540, PR java/13788:
 > 	* testsuite/libjava.compile/pr21540.java: New file.
 > 	* testsuite/libjava.compile/pr13788.java: New file.
 > 	* testsuite/libjava.jacks/jacks.xfail: Updated.
 > 
 > Index: gcc/java/ChangeLog
 > from  Tom Tromey  <tromey@redhat.com>
 > 
 > 	PR java/21540, PR java/13788:
 > 	* parse.y (java_complete_lhs) <CASE_EXPR>: Use
 > 	fold_constant_for_init.
 > 	(patch_binop): Added 'folding' argument.  Updated all callers.
 > 	(patch_unaryop) <NOP_EXPR>: New case.
 > 	(fold_constant_for_init) <NOP_EXPR>: Likewise.
 > 	(fold_constant_for_init) <COND_EXPR>: Fix sense of test.

OK.

Andrew.


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