gcc/libcpp
Geoffrey Keating c0d578e68f c-opts.c (c_common_handle_option): Handle -fpch-preprocess.
2004-06-21  Geoffrey Keating  <geoffk@apple.com>

	* c-opts.c (c_common_handle_option): Handle -fpch-preprocess.
	* c-common.h (flag_pch_preprocess): Declare.
	(c_common_pch_pragma): Likewise.
	* c-common.c (flag_pch_preprocess): New.
	* c-pch.c (c_common_read_pch): Support -fpreprocess-only.
	(c_common_pch_pragma): New.
	* c-ppoutput.c (cb_read_pch): New.
	(init_pp_output): Support -fpch-preprocess.
	* c-pragma.c (init_pragma): Support #pragma GNUC pch_preprocess.
	* c.opt (fpch-preprocess): New.
	* gcc.c (cpp_options): When save-temps, pass -fpch-preprocess.
	* doc/cppopts.texi: Document -fpch-preprocess.
	* doc/invoke.texi (Precompiled Headers): Mention that
	-fpreprocessed is safe for PCH.  Mention that if an option is
	listed as safe that doesn't mean it does what you expect.

Index: gcc/testsuite/ChangeLog
2004-06-21  Geoffrey Keating  <geoffk@apple.com>

	* gcc.dg/pch/save-temps-1.c: New file.
	* gcc.dg/pch/save-temps-1.hs: New file.

Index: libcpp/ChangeLog
2004-06-21  Geoffrey Keating  <geoffk@apple.com>

	* files.c (should_stack_file): Correct swapped parameters to call
	to cb.read_pch.
	* pch.c (cpp_valid_state): Handle -fpreprocessed.

From-SVN: r83478
2004-06-22 06:51:56 +00:00
..
include ChangeLog: Merge text from include/ChangeLog. 2004-06-11 18:07:12 +00:00
po
.cvsignore configure.ac: Don't invoke ACX_HEADER_STDBOOL. 2004-06-12 05:53:54 +00:00
aclocal.m4
ChangeLog c-opts.c (c_common_handle_option): Handle -fpch-preprocess. 2004-06-22 06:51:56 +00:00
charset.c
config.in configure.ac: Don't invoke ACX_HEADER_STDBOOL. 2004-06-12 05:53:54 +00:00
configure Makefile.in: Regenerate with automake 1.8.5. 2004-06-15 07:32:58 +00:00
configure.ac configure.ac: Don't invoke ACX_HEADER_STDBOOL. 2004-06-12 05:53:54 +00:00
directives.c Index: gcc/ChangeLog 2004-06-09 20:10:13 +00:00
errors.c
expr.c
files.c c-opts.c (c_common_handle_option): Handle -fpch-preprocess. 2004-06-22 06:51:56 +00:00
identifiers.c
init.c
internal.h Index: gcc/ChangeLog 2004-06-09 20:10:13 +00:00
lex.c Index: gcc/ChangeLog 2004-06-09 20:10:13 +00:00
line-map.c
macro.c Index: gcc/ChangeLog 2004-06-09 20:10:13 +00:00
makedepend.c
Makefile.am
Makefile.in Makefile.in: Regenerate with automake 1.8.5. 2004-06-15 07:32:58 +00:00
mkdeps.c
pch.c c-opts.c (c_common_handle_option): Handle -fpch-preprocess. 2004-06-22 06:51:56 +00:00
symtab.c
system.h configure.ac: Don't invoke ACX_HEADER_STDBOOL. 2004-06-12 05:53:54 +00:00
traditional.c Index: gcc/ChangeLog 2004-06-09 20:10:13 +00:00
ucnid.h Makefile.def (host_modules): add libcpp. 2004-05-24 10:50:45 +00:00
ucnid.pl
ucnid.tab