This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Remove build_component_ref
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 8 Aug 2002 07:21:12 +0100
- Subject: Re: C++ PATCH: Remove build_component_ref
- References: <200208080549.g785nXY11535@localhost.localdomain>
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.