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 cpplib.c cpplib.h c-common.c c-objc-co ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	compile-server-branch
Changes by:	bothner@gcc.gnu.org	2003-08-29 04:15:47

Modified files:
	gcc            : cpplib.c cpplib.h c-common.c c-objc-common.c 
	                 c-opts.c ChangeLog 

Log message:
	* cpplib.c (_cpp_restore_macro):  Rename to cpp_restore_macros,
	and change parameter list to take a cpp_fragment*.
	Don't define and undef callbacks here.
	(cpp_do_macro_callbacks):  New function to do above callbacks.
	* cpplib.h:  Update accordingly.
	* c-common.c (restore_fragment):  Update to call cpp_restore_macros
	and also call cpp_do_macro_callbacks.
	(reset_cpp_hashnodes):  Don't use restore_macros, so we don't do
	cpp_do_macro_callbacks here.
	* c-objc-common.c (init_c_objc_common_once):  If -g3 was specified
	call create_builtins_fragment even not in server mode.
	(init_c_objc_common_eachsrc):  Call cpp_do_macro_callbacks here.
	* c-opts.c (finish_options):  Set the file_change callback here
	rather than in c_common_post_options, but not if flag_preprocess_only,
	so that the map field in c-lex.c can get set in time.
	(c_common_post_options):  Even if flag_preprocess_only don't call
	finish_options since init_c_common_once now calls it unconditionally.
	(cb_file_change):  Don't segfault if new_map is NULL.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.348.2.2&r2=1.348.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.h.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.261.2.3&r2=1.261.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.438.2.3&r2=1.438.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-objc-common.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.29.2.3&r2=1.29.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.79.2.4&r2=1.79.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=2.618.2.22&r2=2.618.2.23


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