This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29408] [4.1 regression] parse error for valid code
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2006 00:01:30 -0000
- Subject: [Bug c++/29408] [4.1 regression] parse error for valid code
- References: <bug-29408-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from mmitchel at gcc dot gnu dot org 2006-10-17 00:01 -------
Subject: Bug 29408
Author: mmitchel
Date: Tue Oct 17 00:01:14 2006
New Revision: 117802
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117802
Log:
PR c++/29408
* parser.c (cp_parser_using_declaration): Stop parsing when
something goes wrong with an access declaration.
PR c++/29408
* g++.dg/parse/dtor12.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/dtor12.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/parser.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29408