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: C identifier lookup speedups, 2/2


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.


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