https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77637
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue May 30 07:27:33 2017 New Revision: 248611 URL: https://gcc.gnu.org/viewcvs?rev=248611&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-5-branch/gcc/testsuite/g++.dg/cpp0x/gen-attrs-62.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/parser.c branches/gcc-5-branch/gcc/testsuite/ChangeLog