gcc/gcc/cp
Ollie Wild af92ab368a name-lookup.c (ambiguous_decl): Fix case when new->value is hidden.
* name-lookup.c (ambiguous_decl): Fix case when new->value is hidden.
	(select_decl): Remove function.
	(unqualified_namespace_lookup): Populate binding by calling
	ambiguous_decl.  Remove select_decl call.
	(lookup_qualified_name): Remove select_decl call.
	* decl.c (lookup_and_check_tag): Check for ambiguous references.
	* parser.c (cp_parser_elaborated_type_specifier): Skip redundant error
	generation when name lookup is ambiguous.

	* g++.dg/lookup/using16.C: New test.
	* g++.dg/lookup/using17.C: New test.

From-SVN: r126177
2007-07-01 20:49:29 +00:00
..
ChangeLog name-lookup.c (ambiguous_decl): Fix case when new->value is hidden. 2007-07-01 20:49:29 +00:00
ChangeLog-1993
ChangeLog-1994
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005 ChangeLog: split old changelogs by year 2007-05-04 00:16:02 +00:00
ChangeLog-2006 ChangeLog: split old changelogs by year 2007-05-04 00:16:02 +00:00
ChangeLog.ptr [multiple changes] 2007-06-15 22:42:36 -07:00
ChangeLog.tree-ssa
Make-lang.in re PR bootstrap/30899 (build failure with --enable-generated-files-in-srcdir) 2007-03-13 23:51:07 +00:00
NEWS
call.c [multiple changes] 2007-06-15 22:42:36 -07:00
cfns.gperf
cfns.h
class.c [multiple changes] 2007-06-15 22:42:36 -07:00
config-lang.in gengtype.c: Don't include gtyp-gen.h. 2007-03-26 21:07:27 +00:00
cp-gimplify.c [multiple changes] 2007-06-15 22:42:36 -07:00
cp-lang.c invoke.texi (Debugging Options): Add documentation for the -femit-struct-debug options... 2007-04-17 06:19:36 +00:00
cp-objcp-common.c 2007-04-07 Daniel Berlin <dberlin@dberlin.org> 2007-04-07 23:08:23 +00:00
cp-objcp-common.h really remove signed(_or_unsigned)?_type langhooks 2007-06-11 15:40:55 +00:00
cp-tree.def re PR c++/26099 (support for type traits is not available) 2007-03-30 19:45:57 +00:00
cp-tree.h cp-tree.h (DECL_VAR_MARKED_P): Remove. 2007-06-15 16:58:29 +00:00
cvt.c invoke.texi (Warning Options): Add -Wconversion-sign. 2007-05-19 13:32:03 +00:00
cxx-pretty-print.c error.c (dump_expr): Handle dependent names that designate types. 2007-03-23 02:58:46 +00:00
cxx-pretty-print.h
decl.c name-lookup.c (ambiguous_decl): Fix case when new->value is hidden. 2007-07-01 20:49:29 +00:00
decl.h
decl2.c Index: gcc/ChangeLog 2007-06-28 19:31:45 +00:00
dump.c tree.h (enum tree_code_class): Add tcc_vl_exp. 2007-02-15 18:50:49 -05:00
error.c re PR c++/30759 (initializer-list accepted for object of non-POD type) 2007-06-07 19:59:33 +00:00
except.c [multiple changes] 2007-06-15 22:42:36 -07:00
expr.c
friend.c friend.c (do_friend): Annotate warning about friend declarations in templates with... 2007-02-12 23:55:17 +00:00
g++spec.c Index: gcc/cp/ChangeLog 2007-03-02 21:07:37 +00:00
init.c re PR c++/31724 (More "same canonical type node" fun) 2007-06-29 20:21:41 +00:00
lang-specs.h
lex.c re PR c++/30759 (initializer-list accepted for object of non-POD type) 2007-06-07 19:59:33 +00:00
mangle.c re PR c++/7412 ([DR 106] References to references) 2007-05-31 01:18:22 +00:00
method.c [multiple changes] 2007-06-15 22:42:36 -07:00
name-lookup.c name-lookup.c (ambiguous_decl): Fix case when new->value is hidden. 2007-07-01 20:49:29 +00:00
name-lookup.h
operators.def re PR c++/20599 (variadic template support) 2007-03-10 01:58:58 +00:00
optimize.c omp-low.c (splay-tree.h): Include. 2007-03-31 14:07:29 +00:00
parser.c name-lookup.c (ambiguous_decl): Fix case when new->value is hidden. 2007-07-01 20:49:29 +00:00
pt.c re PR c++/31923 (g++ accepts a storage-class-specifier on a template explicit specialization) 2007-06-18 22:09:14 +00:00
ptree.c ptree.c (cxx_print_type): Use formatting markup for integers when printing template parameter... 2007-03-15 13:51:09 +00:00
repo.c flags.h (flag_random_seed): Remove declaration, in favor of... 2007-03-14 01:47:33 +00:00
rtti.c [multiple changes] 2007-06-15 22:42:36 -07:00
search.c
semantics.c re PR c++/32177 (g++ crashes on some valid OpenMP code) 2007-06-08 01:11:23 +02:00
tree.c re PR c++/7412 ([DR 106] References to references) 2007-05-31 01:18:22 +00:00
typeck.c [multiple changes] 2007-06-15 22:42:36 -07:00
typeck2.c [multiple changes] 2007-06-15 22:42:36 -07:00