https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 21 00:09:47 2019 New Revision: 269059 URL: https://gcc.gnu.org/viewcvs?rev=269059&root=gcc&view=rev Log: PR c++/89403 * decl2.c (c_parse_final_cleanups): Move TREE_ASM_WRITTEN setting for flag_syntax_only from here... * semantics.c (expand_or_defer_fn_1): ... here. * g++.dg/cpp0x/pr89403.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr89403.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl2.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog