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: Java: Fix missed GGC root registration


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


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