* defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
commit96842e40ff70c3f4f7050478d2c8b7ccb30be70e
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Feb 2001 18:58:07 +0000 (7 18:58 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Feb 2001 18:58:07 +0000 (7 18:58 +0000)
tree5bb110c877d3ed4e2cdd76284980fa386224d22d
parent2376a7f70dbb918445277781cabbd5842467ae9e
* defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
* gcc.c (struct compiler): Add cpp_spec field.
(input_file_compiler): New variable.
(do_spec_1): Allow a particular compiler to handle `%C'
specially.
(main): Store the current compiler in input_file_compiler.
* tm.texi (CPLUSPLUS_CPP_SPEC): Document.

* lang-specs.h: Use CPLUSPLUS_CPP_SPEC for the preprocessor
spec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39524 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/lang-specs.h
gcc/defaults.h
gcc/gcc.c
gcc/tm.texi