r248821 - in /trunk/gcc: cp/ChangeLog cp/decl2....

nathan@gcc.gnu.org nathan@gcc.gnu.org
Fri Jun 2 11:02:00 GMT 2017


Author: nathan
Date: Fri Jun  2 11:02:26 2017
New Revision: 248821

URL: https://gcc.gnu.org/viewcvs?rev=248821&root=gcc&view=rev
Log:
	* name-lookup.h (cp_binding_level): Lose namespaces field.
	* name-lookup.c (add_decl_to_level): Chain namespaces on the names
	list.
	(suggest_alternatives_for): Adjust for namespace list.  Do
	breadth-first search.
	* decl2.c (collect_source_refs): Namespaces are on the regulr
	list.
	(collect_ada_namespace): Likewise.

	* g++.dg/pr45330.C: Adjust.  Check breadth-firstness.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/name-lookup.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/pr45330.C



More information about the Gcc-cvs mailing list