This is the mail archive of the gcc-cvs@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]

gcc/gcc ChangeLog c-pch.c cpplib.h cpppch.c te ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	pch-branch
Changes by:	geoffk@gcc.gnu.org	2002-11-08 17:12:23

Modified files:
	gcc            : ChangeLog c-pch.c cpplib.h cpppch.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg/pch: macro-3.c macro-3.h 

Log message:
	Index: ChangeLog
	2002-11-08  Geoffrey Keating  <geoffk@apple.com>
	
	* c-pch.c (c_common_write_pch): Write the macro definitions after
	the GCed data.
	(c_common_read_pch): Call cpp_prepare_state.  Restore the macro
	definitions after the GCed data.
	* cpplib.c (save_macros): New.
	(reset_ht): New.
	(cpp_write_pch_deps): Split out of cpp_write_pch.
	(cpp_write_pch_state): Split out of cpp_write_pch.
	(cpp_write_pch): Delete.
	(struct save_macro_data): Delete.
	(cpp_prepare_state): New.
	(cpp_read_state): Erase and restore initial macro definitions.
	* cpplib.h (struct save_macro_data): Forward-declare.
	(cpp_write_pch_deps): Prototype.
	(cpp_write_pch_state): Prototype.
	(cpp_write_pch): Delete prototype.
	(cpp_prepare_state): Prototype.
	(cpp_read_state): Add fourth argument.
	
	Index: testsuite/ChangeLog
	2002-11-08  Geoffrey Keating  <geoffk@apple.com>
	
	* gcc.dg/pch/macro-3.c: New.
	* gcc.dg/pch/macro-3.h: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.12690.2.76&r2=1.12690.2.77
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-pch.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.199.4.11&r2=1.199.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpppch.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.4.2&r2=1.1.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1552.2.12&r2=1.1552.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pch/macro-3.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pch/macro-3.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=NONE&r2=1.1.2.1


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