]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/11617 (g++ does not report missing member functions)
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 25 Jul 2003 16:35:20 +0000 (16:35 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 25 Jul 2003 16:35:20 +0000 (16:35 +0000)
commit22038b2cf5871bdb8613ef35358bc87e478696cf
treeb7b00b9ffe9b124134495d45b49383a557b163ad
parent6c84c6686d1ec71c9eea05ce48366a94ab85e1bf
re PR c++/11617 (g++ does not report missing member functions)

cp:
PR c++/11617
* cp-tree.h (qualified_name_lookup_error): Declare.
* pt.c (tsubst_qualified_id): Use qualified_name_lookup_error for
errors.
(tsubst_expr) <DECL_STMT case>: Likewise.
(tsubst_copy_and_build) <COMPONENT_REF case>: Likewise.
* semantics.c (qualified_name_lookup_error): New, broken out of ...
(finish_id_expression): ... here. Use it.
testsuite:
PR c++/11617
* g++.dg/template/lookup2.C: New test.
* g++.dg/template/memclass1.C: Remove instantiated from error.

From-SVN: r69790
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/lookup2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/memclass1.C