aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-03-06 13:37:50 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-03-06 08:37:50 -0500
commitefd3d4a6637aa02d4cd490523d77e47c0ec60146 (patch)
tree880fc3b1009eacacecfb8094f5edcf1d869304fd /gcc/cp/lang-specs.h
parentd75c89dc2a84df56aee7142c1410d6e4d5adc197 (diff)
downloadgcc-efd3d4a6637aa02d4cd490523d77e47c0ec60146.zip
gcc-efd3d4a6637aa02d4cd490523d77e47c0ec60146.tar.gz
gcc-efd3d4a6637aa02d4cd490523d77e47c0ec60146.tar.bz2
* lang-specs.h (as): Don't call if -syntax-only.
From-SVN: r32359
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index 19b7316..c3a81b1 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -1,5 +1,6 @@
/* Definitions for specs for C++.
- Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
+ Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -62,9 +63,9 @@ Boston, MA 02111-1307, USA. */
%{f*} %{+e*} %{aux-info*} %{Qn:-fno-ident}\
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
%{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}}|\n\
- %{!S:as %a %Y\
+ %{!S:%{!fsyntax-only:as %a %Y\
%{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
- %{!pipe:%g.s} %A\n }}}}"}},
+ %{!pipe:%g.s} %A\n }}}}}"}},
#else /* ! USE_CPPLIB */
{"cpp -lang-c++ %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\
%{C:%{!E:%eGNU C++ does not support -C without using -E}}\
@@ -86,9 +87,9 @@ Boston, MA 02111-1307, USA. */
%{f*} %{+e*} %{aux-info*} %{Qn:-fno-ident}\
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
%{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}}|\n\
- %{!S:as %a %Y\
+ %{!S:%{!fsyntax-only:as %a %Y\
%{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
- %{!pipe:%g.s} %A\n }}}}"}},
+ %{!pipe:%g.s} %A\n }}}}}"}},
#endif /* ! USE_CPPLIB */
{".ii", {"@c++-cpp-output"}},
{"@c++-cpp-output",