diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-02-07 18:58:07 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-02-07 18:58:07 +0000 |
commit | a9374841850fb444b6de78ff169b88dc03766d83 (patch) | |
tree | 5bb110c877d3ed4e2cdd76284980fa386224d22d /gcc/cp/lang-specs.h | |
parent | 7d4918a2d96f1512bd71b00d1deae61fbd4a6ab9 (diff) | |
download | gcc-a9374841850fb444b6de78ff169b88dc03766d83.zip gcc-a9374841850fb444b6de78ff169b88dc03766d83.tar.gz gcc-a9374841850fb444b6de78ff169b88dc03766d83.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r-- | gcc/cp/lang-specs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 210255e..cfcac34 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -68,6 +68,9 @@ Boston, MA 02111-1307, USA. */ %(cc1_options) %2 %{+e*}\ %{!fsyntax-only:%(invoke_as)}}}}" #endif +#ifdef CPLUSPLUS_CPP_SPEC + , CPLUSPLUS_CPP_SPEC +#endif }, {".ii", "@c++-cpp-output"}, {"@c++-cpp-output", |