This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: java/decl.c patch for clear_binding_level
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: java/decl.c patch for clear_binding_level
- From: Per Bothner <per at bothner dot com>
- Date: 17 Mar 2001 23:54:18 -0800
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10103180110290.20794-100000@mars.deadcafe.org>
Jeff Sturm <jsturm@one-point.com> writes:
> Yep. The bytecode compiler is completely broken on the trunk. This seems
> to fix it:
> ...
> (clear_binding_level): Remove excess initializer.
> static struct binding_level clear_binding_level
> = {NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE,
> - NULL_BINDING_LEVEL, 0, LARGEST_PC};
> + NULL_BINDING_LEVEL, LARGEST_PC};
I believe I fixed that earlier today in both the trunch and the
branch. However, I think the correct version is:
NULL_BINDING_LEVEL, LARGEST_PC, 0};
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/