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]

r127347 - in /trunk/gcc: cp/ChangeLog cp/name-l...


Author: aaw
Date: Fri Aug 10 18:12:12 2007
New Revision: 127347

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127347
Log:
	gcc/cp/
	* name-lookup.c (do_nonmember_using_decl): Print an error for ambiguous
	type lookups.
	(ambiguous_decl): Construct tree of ambiguous types.  Remove extaneous
	function parameter.
	(unqualified_namespace_lookup): Fix ambiguous_decl call.
	(lookup_using_namespace): Fix ambiguous_decl call.
	(qualified_lookup_using_namespace): Fix ambiguous_decl call.

	gcc/testsuite/
	* g++.dg/lookup/using18.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/using18.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


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