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++ PATCH: Remove build_component_ref


Mark Mitchell wrote:-

> As a side-effect, this patch gets rid of some more places where we
> were looking up the same name multiple times rather than simply
> remembering the answer the first time we looked it up.

I have a feeling this kind of "do-something-many-times", or "check
something we long ago checked" is quite common in the C front ends
(and e.g. fold-const), but I could be wrong.

Neil.


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