Commit 6935a923 by Pierre-Marie de Rodat Committed by Eric Botcazou

gcc.c (default_compilers): Pass "-o %g.s" to cc1 for headers even if…

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
parent c6a2f2d9
2015-06-22 Pierre-Marie de Rodat <derodat@adacore.com>
* 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.
2015-06-22 Vladimir Makarov <vmakarov@redhat.com> 2015-06-22 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/63740 PR bootstrap/63740
......
2015-06-04 Pierre-Marie de Rodat <derodat@adacore.com>
* lang-specs.h: Pass "-o %g.s" to cc1plus for headers even if
-fdump-ada-spec is passed.
2015-06-22 Pierre-Marie de Rodat <derodat@adacore.com> 2015-06-22 Pierre-Marie de Rodat <derodat@adacore.com>
* decl2.c (cpp_check): Deal with HAS_DEPENDENT_TEMPLATE_ARGS. * decl2.c (cpp_check): Deal with HAS_DEPENDENT_TEMPLATE_ARGS.
......
...@@ -47,7 +47,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -47,7 +47,8 @@ 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}}\ cc1plus %{save-temps*|no-integrated-cpp:-fpreprocessed %{save-temps*:%b.ii} %{!save-temps*:%g.ii}}\
%{!save-temps*:%{!no-integrated-cpp:%(cpp_unique_options)}}\ %{!save-temps*:%{!no-integrated-cpp:%(cpp_unique_options)}}\
%(cc1_options) %2\ %(cc1_options) %2\
%{!fsyntax-only:%{!fdump-ada-spec*:-o %g.s %{!o*:--output-pch=%i.gch}\ %{!fsyntax-only:-o %g.s \
%{!fdump-ada-spec*:%{!o*:--output-pch=%i.gch}\
%W{o*:--output-pch=%*}}%V}}}}", %W{o*:--output-pch=%*}}%V}}}}",
CPLUSPLUS_CPP_SPEC, 0, 0}, CPLUSPLUS_CPP_SPEC, 0, 0},
{"@c++", {"@c++",
......
...@@ -1175,12 +1175,14 @@ static const struct compiler default_compilers[] = ...@@ -1175,12 +1175,14 @@ static const struct compiler default_compilers[] =
%(cpp_options) -o %{save-temps*:%b.i} %{!save-temps*:%g.i} \n\ %(cpp_options) -o %{save-temps*:%b.i} %{!save-temps*:%g.i} \n\
cc1 -fpreprocessed %{save-temps*:%b.i} %{!save-temps*:%g.i} \ cc1 -fpreprocessed %{save-temps*:%b.i} %{!save-temps*:%g.i} \
%(cc1_options)\ %(cc1_options)\
%{!fdump-ada-spec*:-o %g.s %{!o*:--output-pch=%i.gch}\ %{!fsyntax-only:-o %g.s \
%W{o*:--output-pch=%*}}%V}\ %{!fdump-ada-spec*:%{!o*:--output-pch=%i.gch}\
%W{o*:--output-pch=%*}}%V}}\
%{!save-temps*:%{!traditional-cpp:%{!no-integrated-cpp:\ %{!save-temps*:%{!traditional-cpp:%{!no-integrated-cpp:\
cc1 %(cpp_unique_options) %(cc1_options)\ cc1 %(cpp_unique_options) %(cc1_options)\
%{!fdump-ada-spec*:-o %g.s %{!o*:--output-pch=%i.gch}\ %{!fsyntax-only:-o %g.s \
%W{o*:--output-pch=%*}}%V}}}}}}", 0, 0, 0}, %{!fdump-ada-spec*:%{!o*:--output-pch=%i.gch}\
%W{o*:--output-pch=%*}}%V}}}}}}}", 0, 0, 0},
{".i", "@cpp-output", 0, 0, 0}, {".i", "@cpp-output", 0, 0, 0},
{"@cpp-output", {"@cpp-output",
"%{!M:%{!MM:%{!E:cc1 -fpreprocessed %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, "%{!M:%{!MM:%{!E:cc1 -fpreprocessed %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment