This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: Small tweak to cppfiles.c
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Jul 2003 14:54:24 -0700
- Subject: Re: cpplib: Small tweak to cppfiles.c
- References: <20030721205513.GL22306@daikokuya.co.uk>
Neil Booth <neil@daikokuya.co.uk> writes:
> When trying to figure out what PCH was doing with files, I
> noticed some stuff was redundant. Regtested with no regressions.
>
> Neil.
>
> * cppfiles.c (open_file_pch): Don't put unused entries in the
> splay tree. Remove dead code.
Putting entries in the splay tree for files that don't exist is
deliberate - it saves us trying to open them again the next time
that file is referenced. Or am I confused about which entries you're
talking about?
zw