aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-08-25 00:24:10 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2006-08-25 00:24:10 +0000
commita073516d43b79060b506f67083d291832c706a93 (patch)
treeb944faa7ffa62104907fd4354141ca7f2270088c /gcc/cp/lang-specs.h
parentdf1195dbc5aac289e48e4f0a59b1fa3658ce2bb1 (diff)
downloadgcc-a073516d43b79060b506f67083d291832c706a93.zip
gcc-a073516d43b79060b506f67083d291832c706a93.tar.gz
gcc-a073516d43b79060b506f67083d291832c706a93.tar.bz2
re PR driver/28528 (C language extensions override -x in C++ driver)
PR driver/28528 * g++spec.c (lang_specific_driver): Always check if we need to swallow a space-separated arg to '-x'. * lang-specs.h: Don't create ouput files for '-xc++-header' if -fsyntax-only. From-SVN: r116392
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index 4718ece..e16d2f4 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -43,7 +43,7 @@ Boston, MA 02110-1301, USA. */
cc1plus %{save-temps|no-integrated-cpp:-fpreprocessed %{save-temps:%b.ii} %{!save-temps:%g.ii}}\
%{!save-temps:%{!no-integrated-cpp:%(cpp_unique_options)}}\
%(cc1_options) %2 %{+e1*}\
- -o %g.s %{!o*:--output-pch=%i.gch} %W{o*:--output-pch=%*}%V}}}",
+ %{!fsyntax-only:-o %g.s %{!o*:--output-pch=%i.gch} %W{o*:--output-pch=%*}%V}}}}",
CPLUSPLUS_CPP_SPEC, 0, 0},
{"@c++",
"%{E|M|MM:cc1plus -E %(cpp_options) %2 %(cpp_debug_options)}\