This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Greatly speed up finish_struct
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Stan Shebs <shebs at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 31 May 2002 12:25:52 -0700
- Subject: Re: [PATCH] Greatly speed up finish_struct
- References: <3CF7797D.B98126A7@apple.com>
Stan Shebs <shebs@apple.com> writes:
> 2002-05-31 Stan Shebs <shebs@apple.com>
> Turly O'Connor <turly@apple.com>
>
> * c-decl.c (struct binding_level): Change int field n_incomplete
> to tree list incomplete_list.
> (clear_binding_level): Init field with NULL.
> (pushdecl): Add incomplete type to list.
> (mark_binding_level): Mark the incomplete list.
> (finish_struct): Scan the incomplete list for types instead
> of all decls in the current binding level.
OK for mainline. Ask Mark for the branch...
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>