re PR c++/7019 ([3.3 only] SFINAE does not work with explicitally specified template...
authorMark Mitchell <mark@codesourcery.com>
Mon, 14 Jul 2003 19:05:05 +0000 (19:05 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 14 Jul 2003 19:05:05 +0000 (19:05 +0000)
commit5e08432ed0c87fe0e2a6b144e1f87b7615a08d46
treecf301c886bb9f86fa5fd71ba555a1ae37357e0b2
parentbda243ec50619e4b80e35a8c77a9ebc44647ca38
re PR c++/7019 ([3.3 only] SFINAE does not work with explicitally specified template arguments)

PR c++/7019
* cp-tree.h (lookup_qualified_name): Adjust prototype.
* decl.c (lookup_qualified_name): Add complain parameter.  Adjust
call to is_aggr_type.
* parser.c (cp_parser_lookup_name): Adjust call to
lookup_qualified_name.
* pt.c (tsubst_qualified_id): Likewise.
(tsubst_copy_and_build): Likewise.
* semantics.c (finish_qualified_id_expr): Deal with erroneous
expressions.

PR c++/7019
* g++.dg/template/overload2.C: New test.

From-SVN: r69342
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/overload2.C [new file with mode: 0644]