This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Java: Fix missed GGC root registration
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 26 May 2004 20:14:32 -0400
- Subject: Re: Patch: Java: Fix missed GGC root registration
- References: <40B52E7C.9020204@redhat.com>
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.
Bryce