This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C identifier lookup speedups, 2/2
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 11 Apr 2003 06:55:45 +0100
- Subject: Re: C identifier lookup speedups, 2/2
- References: <87of3dd5g5.fsf@egil.codesourcery.com>
Zack Weinberg wrote:-
> This half does tag lookups. It is more invasive than it might
> otherwise have been, because part of the change is that the C front
> end no longer puts parameter decls in their own binding contour; they
> go in the same contour as variables declared at the outermost block
> scope of a function.
Great! I could never figure out why we did this, and of course there
was no comment. Do you know why?
I once tried to remove the extra contour, which gave a bootstrappable
compiler but with screwy debug info IIRC. At that point I gave up.
Neil.