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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 20 17:01:08 2019
New Revision: 279655

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

        PR c++/92648
        * parser.c (cp_parser_std_attribute): For unknown attributes,
        skip balanced token seq instead of trying to parse
        attribute-argument-clause as expression list.

        * g++.dg/cpp0x/gen-attrs-71.C: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/gen-attrs-71.C
Modified:
    branches/gcc-9-branch/gcc/cp/ChangeLog
    branches/gcc-9-branch/gcc/cp/parser.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to