defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
authorMark Mitchell <mark@codesourcery.com>
Wed, 7 Feb 2001 18:58:07 +0000 (18:58 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 7 Feb 2001 18:58:07 +0000 (18:58 +0000)
commita9374841850fb444b6de78ff169b88dc03766d83
tree5bb110c877d3ed4e2cdd76284980fa386224d22d
parent7d4918a2d96f1512bd71b00d1deae61fbd4a6ab9
defaults.h (CPLUSPLUS_CPP_SPEC): New macro.

* 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.

From-SVN: r39524
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/lang-specs.h
gcc/defaults.h
gcc/gcc.c
gcc/tm.texi