r236952 - in /branches/gcc-6-branch/gcc: cp/Cha...

jason@gcc.gnu.org jason@gcc.gnu.org
Tue May 31 21:36:00 GMT 2016


Author: jason
Date: Tue May 31 21:36:28 2016
New Revision: 236952

URL: https://gcc.gnu.org/viewcvs?rev=236952&root=gcc&view=rev
Log:
	PR c++/71173 - wrong qualified lookup

	PR c++/70522
	* cp-tree.h (enum tag_types): Add scope_type.
	* parser.c (cp_parser_class_name): Use scope_type.
	(prefer_type_arg): Handle scope_type.
	(cp_parser_lookup_name): Use prefer_type_arg.
	* name-lookup.c (lookup_qualified_name): Change bool is_type_p to
	int prefer_type, use lookup_flags.
	* name-lookup.h: Adjust.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/lookup/scoped10.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/lookup/scoped9.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/cp-tree.h
    branches/gcc-6-branch/gcc/cp/name-lookup.c
    branches/gcc-6-branch/gcc/cp/name-lookup.h
    branches/gcc-6-branch/gcc/cp/parser.c



More information about the Gcc-cvs mailing list