[Bug c++/52987] bogus expected ; before for undeclared type
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 23 10:12:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52987
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Jul 23 10:11:48 2015
New Revision: 226097
URL: https://gcc.gnu.org/viewcvs?rev=226097&root=gcc&view=rev
Log:
/cp
2015-07-23 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52987
* parser.c (cp_parser_simple_declaration): Robustify check avoiding
redundant error messages.
/testsuite
2015-07-23 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52987
* g++.dg/parse/error57.C: New.
* g++.dg/expr/string-2.C: Update.
Added:
trunk/gcc/testsuite/g++.dg/parse/error57.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/expr/string-2.C
More information about the Gcc-bugs
mailing list