aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <derodat@adacore.com>2015-06-22 19:19:48 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-06-22 19:19:48 +0000
commit6935a9233de8b0606823c732ab19bbb91b26d292 (patch)
tree6e674c2f0f306ef647ec17b2c320897df3f4ff48 /gcc/cp/lang-specs.h
parentc6a2f2d98d666f3d4ddd1e49e0f794da0410ac5c (diff)
downloadgcc-6935a9233de8b0606823c732ab19bbb91b26d292.zip
gcc-6935a9233de8b0606823c732ab19bbb91b26d292.tar.gz
gcc-6935a9233de8b0606823c732ab19bbb91b26d292.tar.bz2
gcc.c (default_compilers): Pass "-o %g.s" to cc1 for headers even if -fdump-ada-spec is passed but not if...
* gcc.c (default_compilers): Pass "-o %g.s" to cc1 for headers even if -fdump-ada-spec is passed but not if -fsyntax-only is. cp/ * lang-specs.h: Pass "-o %g.s" to cc1plus for headers even if -fdump-ada-spec is passed. From-SVN: r224755
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index b0728f0..8a2f31e 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -47,8 +47,9 @@ along with GCC; see the file COPYING3. If not see
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\
- %{!fsyntax-only:%{!fdump-ada-spec*:-o %g.s %{!o*:--output-pch=%i.gch}\
- %W{o*:--output-pch=%*}}%V}}}}",
+ %{!fsyntax-only:-o %g.s \
+ %{!fdump-ada-spec*:%{!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)}\