diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-12 20:01:02 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-12 20:01:02 +0000 |
commit | 5d597674fcb8fb9a5626d27c2702c76c9fe33b6b (patch) | |
tree | 6034339347b83a8d61201f5f508c0321a020461c /gcc/ch | |
parent | c3e4ce9b56611a173152f336c6873caa009e242b (diff) | |
download | gcc-5d597674fcb8fb9a5626d27c2702c76c9fe33b6b.tar.gz |
* gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
-traditional, -ftraditional, or -traditional-cpp was given.
Do not pass -traditional to the preprocessor.
(.S spec): Likewise. Don't bother defining __ASSEMBLER__, the
preprocessor does it automatically.
* objc/lang-specs.h: Likewise. Don't bother defining __OBJC__.
* ch/lang-specs.h: Always use tradcpp. Do not pass
-traditional, -trigraphs, or -pedantic to the preprocessor.
* f/lang-specs.h (.F spec): Likewise. Don't bother defining
_LANGUAGE_FORTRAN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34995 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ch')
-rw-r--r-- | gcc/ch/lang-specs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ch/lang-specs.h b/gcc/ch/lang-specs.h index f5bbd61ab68..9d286a04df0 100644 --- a/gcc/ch/lang-specs.h +++ b/gcc/ch/lang-specs.h @@ -24,13 +24,13 @@ Boston, MA 02111-1307, USA. */ {".ch", {"@chill"}}, {".chi", {"@chill"}}, {"@chill", - {"cpp -lang-chill %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\ + {"tradcpp -lang-chill %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\ %{C:%{!E:%eGNU CHILL does not support -C without using -E}}\ %{!no-gcc:-D__GNUCHILL__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\ - %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:-D__OPTIMIZE__} %{traditional} %{ftraditional:-traditional}\ - %{traditional-cpp:-traditional} %{!undef:%{!ansi:%p} %P} %{trigraphs}\ + %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:-D__OPTIMIZE__} \ + %{!undef:%{!ansi:%p} %P} \ %{fshow-column} %{fno-show-column}\ - %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\ + %{g*} %{W*} %{w} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\ %i %{!E:%g.i}%{E:%W{o*}} \n", "%{!E:cc1chill %g.i %1 \ %{!Q:-quiet} -dumpbase %b.ch %{d*} %{m*} %{a}\ |