https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 30 20:32:14 2019
New Revision: 270716

URL: https://gcc.gnu.org/viewcvs?rev=270716&root=gcc&view=rev
Log:
        Backported from mainline
        2019-02-20  Jakub Jelinek  <ja...@redhat.com>

        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:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/pr89403.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/decl2.c
    branches/gcc-8-branch/gcc/cp/semantics.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to