[Bug c++/72813] [6/7 Regression] atomic header cannot be compiled into translation unit with -fkeep-inline-functions
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 11 18:09:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72813
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 11 18:08:57 2017
New Revision: 244328
URL: https://gcc.gnu.org/viewcvs?rev=244328&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/gcc.c
More information about the Gcc-bugs
mailing list