This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/9810] Using-declaration for template functions does not work
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2003 14:17:46 -0000
- Subject: [Bug c++/9810] Using-declaration for template functions does not work
- References: <20030222204600.9810.comer@pisem.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9810
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-11-02 14:17 -------
Subject: Bug 9810
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: lerdsuwa@gcc.gnu.org 2003-11-02 14:17:39
Modified files:
gcc/cp : ChangeLog call.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.old-deja/g++.other: access11.C
Added files:
gcc/testsuite/g++.dg/template: using8.C
Log message:
PR c++/9810
* call.c (build_over_call): Check access using primary template
if FN is a member function template.
* g++.dg/template/using8.C: New test.
* g++.old-deja/g++.other/access11.C: Adjust expected error location.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3747&r2=1.3748
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.440&r2=1.441
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3165&r2=1.3166
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/using8.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/access11.C.diff?cvsroot=gcc&r1=1.2&r2=1.3