This is the mail archive of the gcc-cvs@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]

r115898 - in /branches/gcc-4_0-branch/gcc: cp/C...


Author: reichelt
Date: Thu Aug  3 03:02:16 2006
New Revision: 115898

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115898
Log:
	PR c++/27508
	* parser.c (cp_parser_unqualified_id): Check for invalid scopes
	when parsing destructor names.

	* g++.dg/parse/dtor9.C: New test.
	* g++.dg/parse/dtor10.C: New test.
	* g++.dg/other/error7.C: Adjust error-marker.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/parse/dtor10.C
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/parse/dtor9.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/parser.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/error7.C


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