r279655 - in /branches/gcc-9-branch/gcc: cp/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Dec 20 17:01:00 GMT 2019


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  <jakub@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



More information about the Gcc-cvs mailing list