gcc/gcc ChangeLog cpphash.h cpplib.c cpppch.c ...

geoffk@gcc.gnu.org geoffk@gcc.gnu.org
Tue Dec 24 22:28:00 GMT 2002


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	pch-branch
Changes by:	geoffk@gcc.gnu.org	2002-12-24 22:28:35

Modified files:
	gcc            : ChangeLog cpphash.h cpplib.c cpppch.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg/pch: cpp-1.c cpp-1.h cpp-2.c cpp-2.h 

Log message:
	* cpplib.c (count_registered_pragmas): New function.
	(save_registered_pragmas): New function.
	(_cpp_save_pragma_names): New function.
	(restore_registered_pragmas): New function.
	(_cpp_restore_pragma_names): New function.
	* cpphash.h (_cpp_save_pragma_names): Prototype.
	(_cpp_restore_pragma_names): Likewise.
	* cpppch.c (struct save_macro_item): Split from save_macro_data.
	(struct save_macro_data): New field 'saved_pragmas'.
	(save_macros): Update for changes to struct save_macro_data.
	(cpp_prepare_state): Call _cpp_save_pragma_names, update
	for changes to struct save_macro_data.
	(cpp_read_state): Call _cpp_restore_pragma_names, update
	for changes to struct save_macro_data.
	
	* cpppch.c (cpp_read_state): Restore the hashtable references
	in the cpp_reader.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.12690.2.96&r2=1.12690.2.97
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpphash.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.139.4.10&r2=1.139.4.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.289.4.11&r2=1.289.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.6&r2=1.1.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1552.2.19&r2=1.1552.2.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pch/cpp-1.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/cpp-1.h.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/cpp-2.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/cpp-2.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=NONE&r2=1.1.2.1



More information about the Gcc-cvs mailing list