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: cpplib: Small tweak to cppfiles.c


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


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