This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Java: Fix missed GGC root registration
- From: Andrew Haley <aph at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 27 May 2004 10:34:10 +0100
- Subject: Re: Patch: Java: Fix missed GGC root registration
- References: <40B52E7C.9020204@redhat.com><40B532E8.6070205@redhat.com>
Bryce McKinlay writes:
> Bryce McKinlay wrote:
>
> > The struct binding_level in java/decl.c lacked ggc type/root
> > registration markers. This resulted in occasional tree corruption bugs
> > when compiling bytecode using the gcj-abi branch because the
> > current_binding_level->stmts could be freed by the GC when compiling
> > some class files.
> >
> > This patch adds the appropriate markers and roots registration.
> >
> > OK for mainline and 3.4 branch?
>
> Actually, it turns out this is a tree-ssa specific bug - it applies only
> to mainline.
OK.
gcj-abi-2-dev-branch too, if you have a moment.
Andrew.