From efd3d4a6637aa02d4cd490523d77e47c0ec60146 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 6 Mar 2000 13:37:50 +0000 Subject: [PATCH] * lang-specs.h (as): Don't call if -syntax-only. From-SVN: r32359 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/lang-specs.h | 11 ++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e0faa86a7196..fc8a968daaf1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 6 08:46:47 2000 Richard Kenner + + * lang-specs.h (as): Don't call if -syntax-only. + 2000-03-06 Mark Mitchell * expr.c (cplus_expand_expr, case STMT_EXPR): Don't set diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 19b7316ca773..c3a81b142dfd 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",