https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77637
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Dec 7 22:30:42 2016 New Revision: 243385 URL: https://gcc.gnu.org/viewcvs?rev=243385&root=gcc&view=rev Log: Backported from mainline 2016-09-20 Jakub Jelinek <ja...@redhat.com> PR c++/77637 * parser.c (cp_parser_std_attribute_list): Reject ... without preceding attribute. * g++.dg/cpp0x/gen-attrs-62.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/gen-attrs-62.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/parser.c branches/gcc-6-branch/gcc/testsuite/ChangeLog