re PR c++/10200 (Weird clash with same names in different scopes)
authorJason Merrill <jason@redhat.com>
Wed, 17 Feb 2016 00:50:23 +0000 (19:50 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 17 Feb 2016 00:50:23 +0000 (19:50 -0500)
commit6bab4c63c4277ce8831c9d1cb6161f12f557f7f6
treea39646613764cf1028a7acfc0fc45dc4892df306
parenta529923e35bcbb88d2eef4a77531092717356a23
re PR c++/10200 (Weird clash with same names in different scopes)

PR c++/10200
PR c++/69753
* call.c, cp-tree.h, name-lookup.c, pt.c, search.c, semantics.c,
tree.c, typeck2.c: Revert earlier changes.
* parser.c (cp_parser_lookup_name): Ignore namespace-scope
non-type templates after -> or .

From-SVN: r233481
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/search.c
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/template/dependent-expr9.C [new file with mode: 0644]