This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc cppfiles.c ChangeLog
- From: bothner at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 10 Dec 2003 01:21:24 -0000
- Subject: gcc/gcc cppfiles.c ChangeLog
CVSROOT: /cvs/gcc
Module name: gcc
Branch: compile-server-branch
Changes by: bothner@gcc.gnu.org 2003-12-10 01:21:24
Modified files:
gcc : cppfiles.c ChangeLog
Log message:
Share buffer and fragments for files that have same path.
* cppfiles.c (struct _cpp_file_data): New type.
(struct _cpp_file): Move "buffer-related" fields to _cpp_file_data.
(open_file): Look for path in file_hash. If found, reuse its
_cpp_file_data. Otherwise, if file found, enter path in file_hash.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppfiles.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.177.2.13&r2=1.177.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=2.618.2.76&r2=2.618.2.77