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 Makefile.in c-common.c c-com ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	pch-branch
Changes by:	geoffk@gcc.gnu.org	2002-08-24 17:48:01

Modified files:
	gcc            : ChangeLog Makefile.in c-common.c c-common.h 
	                 c-lex.c c-objc-common.c c-opts.c cppfiles.c 
	                 cpplib.h flags.h gcc.c toplev.c toplev.h 
	gcc/doc        : invoke.texi 
Added files:
	gcc            : c-pch.c 

Log message:
	* c-pch.c: New file.
	* toplev.h (late_init_hook): Declare.
	* toplev.c (late_init_hook): Define.
	(version_flag): Make globally visible.
	(compile_file): Call late_init_hook.
	(init_asm_output): Make output file seekable.
	* gcc.c (default_compilers): Update c-header rule.
	* flags.h (version_flag): Declare.
	* cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
	fields.
	* cppfiles.c (struct include_file): Add 'pch' field.
	(INCLUDE_PCH_P): New.
	(open_file_pch): New.
	(stack_include_file): Handle PCH files specially.
	(find_include_file): Call open_file_pch instead of open_file.
	(_cpp_read_file): Explain why open_file is used instead of
	open_file_pch.
	* c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
	* c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
	* c-lex.c (init_c_lex): Set valid_pch and read_pch fields
	in cpplib callbacks.
	* c-common.c (pch_file): Correct comment.
	(allow_pch): Define.
	(c_common_init): Call pch_init.
	* c-common.h (allow_pch): Declare.
	(pch_init): Declare.
	(c_valid_pch): Declare.
	(c_read_pch): Declare.
	(c_write_pch): Declare.
	* Makefile.in (c-pch.o): New.
	(C_AND_OBJC_OBJS): Add c-pch.o.
	* doc/invoke.texi (Precompiled Headers): Add index entries,
	complete truncated paragraph.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-pch.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/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.12690.2.67&r2=1.12690.2.68
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.822.2.30&r2=1.822.2.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.286.4.12&r2=1.286.4.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.112.4.13&r2=1.112.4.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-lex.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.163.4.6&r2=1.163.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-objc-common.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.2.6.6&r2=1.2.6.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.10.2.2&r2=1.10.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppfiles.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.143.2.5&r2=1.143.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.199.4.7&r2=1.199.4.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/flags.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.76.2.5&r2=1.76.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcc.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.285.4.8&r2=1.285.4.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.571.2.9&r2=1.571.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.82.2.4&r2=1.82.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.107.2.8&r2=1.107.2.9


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