[Bug c++/41876] [4.3/4.4/4.5 regression] Parse problems with catch
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 3 20:53:00 GMT 2009
------- Comment #1 from jason at gcc dot gnu dot org 2009-11-03 20:52 -------
Subject: Bug 41876
Author: jason
Date: Tue Nov 3 20:52:21 2009
New Revision: 153864
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153864
Log:
PR c++/41876
* parser.c (cp_parser_type_specifier_seq): Rename is_condition to
is_declaration.
(cp_parser_exception_declaration): Pass true.
(cp_parser_omp_for_loop): Likewise.
Added:
trunk/gcc/testsuite/g++.dg/parse/eh-decl.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41876
More information about the Gcc-bugs
mailing list