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]

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


Author: reichelt
Date: Tue Jan 24 21:44:57 2006
New Revision: 110181

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110181
Log:
	PR c++/25552
	* parser.c (cp_parser_unqualified_id): Check that destructor name
	and scope match.
	* call.c (check_dtor_name): Do not expect a BIT_NOT_EXPR.
	Adjust comment.  Use same_type_p to compare types.
	* typeck.c (lookup_destructor): Adjust call to check_dtor_name.
	* init.c (build_offset_ref): Adjust call to check_dtor_name.

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

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/parse/dtor8.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/call.c
    branches/gcc-4_0-branch/gcc/cp/init.c
    branches/gcc-4_0-branch/gcc/cp/parser.c
    branches/gcc-4_0-branch/gcc/cp/typeck.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


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