PR c++/72813
* gcc.c (default_compilers): Don't add -o %g.s for -S -save-temps
of c-header.
* c-decl.c (pop_file_scope): Set flag_syntax_only to 1 after writing
PCH file.
* decl2.c (c_parse_final_cleanups): Set flag_syntax_only to 1 after
writing PCH file.
From-SVN: r244328
+2017-01-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/72813
+ * gcc.c (default_compilers): Don't add -o %g.s for -S -save-temps
+ of c-header.
+
2017-01-11 David Malcolm <dmalcolm@redhat.com>
PR driver/78877
+2017-01-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/72813
+ * c-decl.c (pop_file_scope): Set flag_syntax_only to 1 after writing
+ PCH file.
+
2017-01-11 Richard Biener <rguenther@suse.de>
PR bootstrap/79052
if (pch_file)
{
c_common_write_pch ();
+ /* Ensure even the callers don't try to finalize the CU. */
+ flag_syntax_only = 1;
return;
}
+2017-01-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/72813
+ * decl2.c (c_parse_final_cleanups): Set flag_syntax_only to 1 after
+ writing PCH file.
+
2017-01-10 David Malcolm <dmalcolm@redhat.com>
PR c++/77949
DECL_ASSEMBLER_NAME (node->decl);
c_common_write_pch ();
dump_tu ();
+ /* Ensure even the callers don't try to finalize the CU. */
+ flag_syntax_only = 1;
return;
}
%(cpp_options) -o %{save-temps*:%b.i} %{!save-temps*:%g.i} \n\
cc1 -fpreprocessed %{save-temps*:%b.i} %{!save-temps*:%g.i} \
%(cc1_options)\
- %{!fsyntax-only:-o %g.s \
+ %{!fsyntax-only:%{!S:-o %g.s} \
%{!fdump-ada-spec*:%{!o*:--output-pch=%i.gch}\
%W{o*:--output-pch=%*}}%V}}\
%{!save-temps*:%{!traditional-cpp:%{!no-integrated-cpp:\