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 c-opts.c cpplex.c cpptrad.c cpplib.c C ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	compile-server-branch
Changes by:	bothner@gcc.gnu.org	2003-10-18 21:29:26

Modified files:
	gcc            : c-opts.c cpplex.c cpptrad.c cpplib.c ChangeLog 

Log message:
	* c-opts.c (c_common_post_options):  Don't call cpp_find_main_file yet.
	(push_command_line_include):  When done with options, pass LC_LEAVE
	instead of LC_RENAME to cpp_change_file and finally cpp_push_main_file.
	(c_common_post_options):  Move finish_options call to here.
	(finish_options):  Take file name parameter, as in mainline.
	Don't do cpp cpp processing for "<built-in>" here.
	(init_c_common_once):  Don't call finish_options here, but do inline
	cpp processing for "<built-in>".
	Don't register_cpp_callbacks if flag_preprocess_only.
	(fe_file_change):  Handle NULL new_map, and simplify.
	* cpplex.c (_cpp_get_fresh_line):  Revert my no-longer-needed
	08-28 change, since we're never called with a NULL buffer.
	(_cpp_lex_direct):  Likewise.
	* cpptrad.c (_cpp_read_logical_line_trad):  Likewise.
	Return false if buffer is NULL at end.
	
	* cpplex.c (_cpp_get_fresh_line):  Return value now just depends on
	whether pfile->buffer is NULL after pop, ignoring return_at_eof.
	* cpphash.h (struct cpp_buffer):  Remove unused return_at_eof field.
	* cpplib.c (cpp_push_buffer):  Since we no longer set return_at_eof,
	remove the unused return_at_eof parameter.

Patches:
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.7&r2=1.79.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplex.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.245.2.3&r2=1.245.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpptrad.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.35&r2=1.35.2.1
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.4&r2=1.348.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.42&r2=2.618.2.43


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