------- Comment #4 from jason at gcc dot gnu dot org 2009-08-31 21:20 ------- Subject: Bug 41127
Author: jason Date: Mon Aug 31 21:20:07 2009 New Revision: 151247 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151247 Log: PR c++/41127 * parser.c (cp_parser_enum_specifier): Make sure the : is followed by a type-specifier-seq before we commit. Added: branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/enum5.C - copied unchanged from r151246, trunk/gcc/testsuite/g++.dg/parse/enum5.C Modified: branches/gcc-4_4-branch/gcc/cp/ChangeLog branches/gcc-4_4-branch/gcc/cp/parser.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/enum1.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41127