This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29408] [4.1/4.2 regression] parse error for valid code



------- Comment #10 from mmitchel at gcc dot gnu dot org  2006-10-16 23:08 -------
Subject: Bug 29408

Author: mmitchel
Date: Mon Oct 16 23:07:46 2006
New Revision: 117800

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117800
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:
    trunk/gcc/testsuite/g++.dg/parse/dtor12.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29408


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]