r116217 - in /trunk/gcc: cp/ChangeLog cp/parser...

reichelt@gcc.gnu.org reichelt@gcc.gnu.org
Thu Aug 17 09:07:00 GMT 2006


Author: reichelt
Date: Thu Aug 17 09:07:39 2006
New Revision: 116217

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116217
Log:
	PR c++/28606
	* parser.c (cp_parser_diagnose_invalid_type_name): Handle BIT_NOT_EXPR.
	Fix formatting.
	(cp_parser_parse_and_diagnose_invalid_type_name): Tighten condition
	for valid type-names.
	(cp_parser_unqualified_id): Fix error handling for destructors.

	* g++.dg/parse/dtor11.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/dtor11.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list