This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: RFA: fix PR java/21519
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 15 May 2005 10:18:19 +0100
- Subject: Re: Patch: RFA: fix PR java/21519
- References: <m33bsq256i.fsf@localhost.localdomain>
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.